FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 12-08-2008, 04:55 PM
Stefan Monnier
Default 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.


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

Thread Tools

All times are GMT. The time now is 12:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org