tech-embed archive

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

Re: mount_seed_tmpfs



matthew sporleder <msporleder%gmail.com@localhost> schrieb:
> For running read-only systems I know it's sometimes common to run /var
> in a tmpfs/mfs and to seed the files/directories with a tar file at
> startup.  I have never been a big fan of the tar file idea, so I wrote
> mount_seed_tmpfs which will populate a tmpfs filesystem from the disk
> before taking over the mount point.
>

I've often wished for something like this in NetBSD. However, there is
prior art in OpenBSD and DragonFlyBSD, and I find their user interface
a little more elegant: both use a command line switch instead.

Cf. 
http://www.openbsd.org/cgi-bin/man.cgi?query=mount_mfs&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html
http://leaf.dragonflybsd.org/cgi/web-man?command=mount_mfs&section=ANY

-P or -C, respectively.

Regards,

--
Dennis den Brok



Home | Main Index | Thread Index | Old Index