This is the mail archive of the cygwin-developers 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: [HEADSUP] Let's start a Cygwin 1.7 release area


On Apr  5 13:38, Christopher Faylor wrote:
> On Sat, Apr 05, 2008 at 12:08:34PM +0200, Corinna Vinschen wrote:
> >On Apr  4 14:22, Corinna Vinschen wrote:
> >- All mount points in /etc/fstab are system mount points by default,
> >  all other mount points are always user mount points.  The important
> >  thing here is, that user mount points can't override system mount
> >  points anymore.  If you try that, you get an EPERM error.  The reason
> >  for this change is to allow sysadmins to specify paths in /etc/fstab
> >  which no user is allowed to screw up.  Paths which the user may
> >  umount or re-mount can be marked as user mounts by the admin.
> 
> I don't believe that linux acts like this with user mounts.

It doesn't.  I didn't try to do exaclty what Linux does, but to implement
a concept which makes sense on Cygwin while coming at least close to
Linux.

> >- The flags string in the fstab file also understands the flags "system"
> >  and "user" now, to allow the sysadmin to specify default paths which a
> >  user may change.
> 
> When implementing something like this can't we just try to use prior
> art?  linux has the concept of a "user" mount but it is not the default

And it's not on Cygwin.  The default is "system".

> and, I think that the inverse of user would be "nouser", not "system".

Well, the prior art I used was our own mount(1) which is using these
options for a couple of years.  I don't care to name the system mounts
now nouser mounts in /etc/fstab, especially given that you don't have to
use this option at all, but actually I think we will not get rid of
the term system mount for a couple of years.  At least not in the cygwin
mailing lists.  And probably not in my head, either ;)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


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