In thinking more about the craziness of the fstab, as displayed last night as part of my approach to diskless systems, and the local bind mounts before nfs export on file server.
I think I am going to move to a scripted approach via a init script. You can't use variables in fstab, and honestly dealing with that is a pita. Not just from a maintenance point of view, getting way out of control size wise with lots of systems. At times during testing or otherwise, you might want to unbind things, which requires umount. Doing that via fstab is not easy. You have to do unmount commands manually, which blows! Therefore I think a better approach is to script it, make an init script, with both start/mount and stop/unmount. Maybe even a config file in Gentoo's /etc/conf.d/diskless to contain a variable for the amount of diskless systems. Otherwise can hard code that into the init script, but probably not the best approach. I will provide more information once I get around to completing some how tos on all this and uploading a copy of the presentation from last night. But as mentioned last night, its still some what of a work in progress. Thus delays are par for the course. Not to mention there are many other approaches, countless links for diskless linux if you Google. My stuff will just end up as one more. -- William L. Thomson Jr. Obsidian-Studios, Inc. http://www.obsidian-studios.com --------------------------------------------------------------------- Archive http://marc.info/?l=jaxlug-list&r=1&w=2 RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml Unsubscribe [email protected]

