mount helper scripts?



Does mount provide some way to add hooks such that

mount /foo

can do some work to setup/create the necessary device file before
actually mouting it (the device file contains an ext3 partition).

I'm thinking of an fstab entry like

/dev/bar /foo ext3 noexec,prehook=/sbin/makebar

In my case /dev/bar is really an LVM volume that needs to be activated
(it's on a USB drive) before the corresponding device can be used.


Stefan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Udev, kernel 2.6, SATA, and FlashDisk
    ... This cdrw is using IDE interface. ... I got /dev/cdrom and /dev/cdrw device file which both are refered to ... But when I browse into /cdrom or cdrom icon within gnome's Computer icon ... Simply said that I can't browse into my cd, and I've tried to mount ...
    (Debian-User)
  • Re: [linux] using flash disk
    ... the device file is /dev/sda1. ... the local structure where the structure of the device should be included. ... Fedora Core 2 and lower /mnt is the standard directory for all mount points. ...
    (Fedora)
  • Re: cannot eject or retract cdrom tray anymore
    ... >> can be a device file or mount point, ... My recollection from the OP was that the cdrw ... simple "/" which would look in the root directory for the device). ...
    (Debian-User)
  • Re: Troubles while mounting ext2 from 5.1-RELEASE
    ... > Did you compile EXT2FS support into your kernel? ... That's probably the main bug here. ... mount(8) obfuscates the name of the mount utility that does the mount, ... mountonly documents the device file for ufs. ...
    (freebsd-current)
  • Re: cannot eject or retract cdrom tray anymore
    ... > from man eject: ... > can be a device file or mount point, ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
    (Debian-User)