NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Use fstab with virtual nodes.



On Tue, 10 Mar 2009 08:36:35 -0400
Glen Johnson <gjohnson%valcom.com@localhost> wrote:

> NetBSD-users,
> I am trying to use /etc/fstab to mount a file image on boot as if it
> was a partition.  I read in
> <http://netbsd.org/docs/bootcd.html#netbsd_mountimage> how to mount an
> image manually but I want to do this on boot up.  What can I do?  Is
> there some special command in fstab to make this work?

When during boot do you need it mounted?  You could do the vnconfig,
fsck, and mount in /etc/rc.local.

Of course, writing mount_vnd should be a very quick exercise.  I have a
long flight next week -- hmm...

                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index