This is the mail archive of the
mailing list for the Cygwin project.
Re: changing cygdrive prefix in fstab has no effect
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Mitch Deoudes <meeotch at gmail dot com>, cygwin at cygwin dot com
- Date: Wed, 3 Sep 2014 21:16:45 +0400
- Subject: Re: changing cygdrive prefix in fstab has no effect
- Authentication-results: sourceware.org; auth=none
- References: <54069EB0 dot 10309 at gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Mitch Deoudes!
> I'm teaching a class at a local college, and since their computer lab is
> stocked with Windows 7 & 8 machines, I had them install cygwin64 to use
> as a command line.
> The only change I requested they make to the config is to replace the
> "/cygdrive" in /etc/fstab with "/". This is my config at home, and
> googling seems to indicate it is an accepted way of changing the default
> prefix. The problem is, it has no effect - the prefix (in a new
> session) is still /cygdrive, as shown by mount and ls.
Make sure NO cygwin-related sessions active. Simplest would be to just reboot
the box to be absolutely sure.
> Any tips on why this may not be working? I've verified the change to
> /etc/fstab - it's the default, with only the first occurrence of
> "/cygdrive" changed to "/". It happened in two different computer labs,
> administered by to different sysadmins, on I believe two different
> operating systems (win7 & 8). I don't have a cygcheck output on me, but
> this is a clean install, downloaded as of this week, with no extra
> packages except python. Using "mount -c" works, but is not persistent
> between sessions.
You'll be surprized, but... I've just migrated to a Win7/64 and when setting
up a new Cygwin root, I made a stupid mistake.
none / binary,posix=0,user 0 0
Took a little while to notice complaints on STDERR.
> The below works for me at home:
> # This is default anyway:
> # none /cygdrive cygdrive binary,posix=0,user 0 0
> none / cygdrive binary,posix=0,user 0 0
Andrey Repin (firstname.lastname@example.org) 03.09.2014, <21:07>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple