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: fstab not automounting...


On Oct 17 10:36, Warren wrote:
> On 10/17/2013 09:19, Corinna Vinschen wrote:
> >
> >There's some sort of mismatch, either in the username or in
> >the paths.
> 
> Can an automatic-on-boot cygrunsrv service cause this?
> 
> For instance, I use cron on this machine.  Doesn't that mean the
> mount table gets loaded by SYSTEM on my machine?  If his mounts only
> work as the OP's original user...

No, because the internal in-memory mount table is in the per-user
shared memory block.  This goes for the global stuff in /etc/fstab as
well, not only for the user mount points in fstab.d.  The name of
this shared memory region is based on the user's SID:

  $ cd /proc/sys/BaseNamedObjects/cygwin1S5-*
  $ ls -l S-1-*
  crw-rw---- 1 Administrators SYSTEM 0, 250 Oct 17 18:46 S-1-5-21-2913048732-1697188782-3448811101-1001.1

That's the one for my user account.  One user, one mount table.  Each
user gets its own.


Corinna

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

Attachment: pgp8a3fKWk9i3.pgp
Description: PGP signature


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