Re: [SLUG] Permission denied to CF card.

From: Chuck Hast (wchast@gmail.com)
Date: Sat Aug 12 2006 - 18:26:17 EDT


On 8/12/06, Eben King <eben01@verizon.net> wrote:
> On Sat, 12 Aug 2006, Chuck Hast wrote:
>
> > On 8/12/06, Eben King <eben01@verizon.net> wrote:
> >>
> >> As it is, it's not paying attention to /etc/auto.misc because the line
> >> "/misc /etc/auto.misc" in /etc/auto.master is commented out. (I think
> >> all mount trees have an implied "/mnt/auto" prepended.) If I were doing
> >> it, I would put an entry for the CF card in auto.misc, and uncomment that
> >> line in auto.master.
> >>
> >
> > That is what I can not figure out, that comes out of the machine that DOES
> > read the CF cards, so my question is what triggers it, if those files are
> > not doing so (as you pointed out the line that it would appear to trigger
> > this function is commented out so unless there is similar file somewhere
> > else that one is not doing it. There must be another mechanisim that is
> > allowing the machine to automount the card and give access to it.
>
> These daemons:
>
> 6145 ? S 0:00 /usr/sbin/automount --pid-file=/var/run/autofs/_mnt_auto.pid --timeout=1500 /mnt/auto file /etc/auto.misc
> 6153 ? S 0:00 /usr/sbin/automount --pid-file=/var/run/autofs/_mnt_dvd.pid --timeout=5 /mnt/dvd file /etc/auto.dvd
>
> started from this file:
>
> -rwxr-xr-x 1 root root 14026 2005-04-04 01:44 /etc/init.d/autofs
>
> control the automounter I have. There is another one I know of called
> "amd". "ls -ld" the mount point and make sure it's not a link. Trace it
> back to where it isn't and run "lsof" on its parent directory like so:
>
> eben@pc:~$ \ls -ld /scratch
> lrwxrwxrwx 1 root root 17 2006-01-30 17:45 /scratch -> /mnt/auto/scratch
>
> (a link)
>
> eben@pc:~$ \ls -ld /mnt/auto
> drwxr-xr-x 4 root root 0 2006-08-12 16:30 /mnt/auto
>
> (not a link)
>
> root@pc:/etc/init.d# lsof | grep /mnt/auto
> automount 6145 root 4r DIR 0,15 0 10080 /mnt/auto
>
> Therefore, "automount" is the program I have. YMMV.

They must be using another mechinisim, as I can see nothing of the kind, I
did find a 'master' but it was part of postfix....

-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:00:40 EDT