changing home directory

Mirko Vukovic mirko.vukovic@gmail.com
Thu Mar 31 22:19:00 GMT 2011


Hi,

I want to change my /home directory.
My windows HOME variable points to d: which is my user directory on the PC.
Currently, /home points to my home directory.  But because of some
issues with unison, I would like to change it
to /home/977315

I tried:
> mkdir /home/977315
> vi /etc/fstab ... to point d: to /home/977315 (d: is my home directory)
> vi /etc/passwd to make my login directory /home/977315

But when I open a new bash window, `cd ~' will still put me into
/home, and mount's output still points d: to /home.

If I remove that windows variable HOME, my cygwin home directory
becomes /home/mv.  But the mount point d: is still pointing to /home,
disregarding the /etc/fstab setting

What else should I do?

Thank you,

Mirko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 66175 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110331/dd538bc8/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list