On Tue, 20 Nov 2007, Mikkel L. Ellertson wrote: > Chris G wrote: > > On Mon, Nov 19, 2007 at 11:59:26AM -0800, Michael Eager wrote: > >> Chris G wrote: > >>> I have a Freecom network disk which needs the following to be executed > >>> before I can mount it using an entry in /etc/fstab :- echo 0 > > >>> /proc/fs/cifs/LinuxExtensionsEnabled > >>> Is there any neat way I can get this command executed during the boot > >>> sequence before the entries in /etc/fstab are mounted? IMHO, if you need something to run before a filesystem can be mounted, then that mount doesn't belong in /etc/fstab. /etc/fstab should philosophically refer to only those filesystems that can be mounted normally during the boot procedure without any funny hackery. if you need something out of the ordinary done first, put it in a later startup script somewhere, as others have suggested. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ========================================================================