This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Programatically finding value of "cygdrive" prefix




Brian Dessent wrote:

Ken Dibble wrote:



Well, maybe my installation is hosed then.  I have installed for all
users, but mount -m returns

mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts"
"/usr/X11R6/lib/X11/fonts"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -u -b --change-cygdrive-prefix "/cygdrive"
mount -s -b --change-cygdrive-prefix "/"



It's not hosed, you just happen to have both flavors of cygdrive prefix. The user mounts always take precedence over the system-wide ones. If I were you I'd remove the user cygdrive (since all your other mounts are system) with "umount -uc" and then change your system cygdrive to the desired value, presumably "mount -c /cygdrive".




Thank you, worked like a charm.


Ken


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]