Dear List,

I have a little problem for which help would be awesome as I haven't been able 
to figure it out myself:

I have msys2 running on 3 computers, and I want it to be the same on all of 
them, in particular the file structure. I like msys using my Windows home 
directory, so I took what I believe to be the necessary steps:

/etc/nsswitch.conf:

# Begin /etc/nsswitch.conf

passwd: files db
group: files db

db_enum: cache builtin

db_home: windows
# db_home: cygwin desc
db_shell: cygwin desc
db_gecos: cygwin desc

# End /etc/nsswitch.conf

/etc/fstab:

# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table

# DO NOT REMOVE NEXT LINE. It remove cygdrive prefix from path
none / cygdrive binary,posix=0,noacl,user 0 0
C:\Users /home


So with these identical settings on 3 computers, two displays the home 
directory as I'd prefer:

/home/username

But, one, uses the systemdrive letter as root, and keeps Users as parent of the 
users:

/c/Users/username

If I try:
cd /home/username

I get:
-bash: cd: /home/username: No such file or directory

/usr/bin etc exist as expected, only the /home path insists on the drive 
letter...

If I try:
$ ls /c/usr

I get:
ls: cannot access '/c/usr': No such file or directory


I've been poking around trying to find another place where that could be 
defined, but I didn't succeed.

Anybody know the place(s)?

Thank you
Rainer
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to