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: changing cygdrive prefix in fstab has no effect

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 ( 03.09.2014, <21:07>

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

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