Re: Devlabel and Fstab with usb pendrive

From: Darragh Bailey (daragh.bailey_at_gmail.com)
Date: 09/21/04

  • Next message: Paul Howarth: "Re: Authentication default"
    Date: Tue, 21 Sep 2004 10:15:26 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Fri, 23 Jul 2004 22:13:02 +0100, Darragh Bailey
    <daragh.bailey@gmail.com> wrote:
    > > To stop updfstab from complaining about /dev/usb-pendrive remove the
    > > "kudzu" option.
    > That doesn't have an effect, updfstab still seems to read through all
    > the entries to verify that the devices exist.

    Got the pendrive working a while ago but I noticed some minor
    irratating issues that I can't seem to solve.

    I created a new file /etc/updfstab.conf.local and included into
    /etc/updfstab and now my TinyDisk pendrive mounts on /mnt/flash (which
    is created as required) when you plug it in. Only irk with that is I
    can't control the mount options very well, i.e. I can't set it up so
    that the options noatime and users so that

    1) access times are not written which use up the finite number of
    writes that flash has (no point in wasting them)
    2) so that if one user mounts this on the selected machine when
    another user comes along they can umount it.

    By default it can only be umounted by the user who mounted it or root
    and I don't like su'ing just because someone forgot to remove the
    pendrive when they were finished with it.

    Anyone know how to either use updfstab to get it to set these options
    or at least some other way, perhaps auto remounting?

    The other problem I've noticed is that if I have the default file
    browser open in FC2 it appears that fam is running in the background
    and prevents the pendrive from being unmounted until all the file
    browser windows are closed at which point fam exits and you can then
    unmount the pendrive. Problem is this occurs even if the file browser
    was not being used to access the pendrive. I could just be viewing my
    own home directory and it would still block the umounting of the
    pendrive.

    I think I ran into this before but could never work out what the
    problem was when I had a second harddrive of shared partitions that I
    would mount and umount as required. Same issue appeared that sometimes
    even though nothing appeared to be accessing the harddrive it was not
    unmounted.

    Any ideas on how to solve this or is it currently just the way the
    system is supposed to behave until either the file browser or fam is
    modified? I'm not certain but could the use of noatime have an effect
    on this problem?

    -- 
    Darragh Bailey
    "Nothing is foolproof to a sufficiently talented fool"
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul Howarth: "Re: Authentication default"

    Relevant Pages

    • Re: Devlabel and Fstab with usb pendrive
      ... > another user comes along they can umount it. ... > browser open in FC2 it appears that fam is running in the background ... > unmount the pendrive. ... Problem is this occurs even if the file browser ...
      (Fedora)
    • Re: /etc/mtab and per-process namespaces
      ... >> to unmount whatever is there in its namespace. ... > My concern is that if I have init, as root, try to perform a umount -a, it ... the mounts belonging its namespace'. ... > On the other hand, if we fork a child process with its own namespace, the ...
      (Linux-Kernel)
    • autofs4 /net /proc/mounts problem
      ... mounts not working. ... I’m guessing what’s happening next is autofs4 tries to umount foo:/ before ... If I bring down the automount process, manually go through and umount all ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: /etc/mtab and per-process namespaces
      ... But /proc/mounts is a symlink to self/mounts, and self is a symlink to $PID, ... My concern is that if I have init, as root, try to perform a umount -a, it ... _still_ won't get the mounts belonging to child processes with a separate ... There's no "global view" of mounts available anywhere. ...
      (Linux-Kernel)
    • Re: Are RWs a problem?
      ... finds it and mounts it. ... If it was not blank, wait for it to mount, start a CLI, and umount it ... there is k3b attempting to automount it. ... OK - memory is not the most reliable, but that's the general approach I use. ...
      (Fedora)