fstab not automounting...

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Oct 17 16:51:00 GMT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131017/96423610/attachment.sig>


More information about the Cygwin mailing list