Re: mount at boot

Emil Sit <[email protected]> Thu, 16 Dec 2004 16:02:36 -0500
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
On Tue, 14 December 2004 at 14:23 (-0500), Stefan Gromoll wrote:
> files.  The jobs run as a particular user on the machines, so the /sfs
> directory only needs to be visible to that user.  however, the machines

You might try something like:

su -f -m user -c '/usr/local/bin/sfsagent /home/user/user.sfskey'

in the startup scripts for the various machines.  The key would
have to be unencrypted, of course.  (The arguments to su are
for FreeBSD; yours may vary.)

I guess that won't actually mount anything at boot, but will
allow auto-mounting of the appropriate directories when accessed.