Re: mount_seed_tmpfs
Dennis den Brok <[email protected]> Sat, 9 May 2009 20:07:09 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
matthew sporleder <[email protected]> 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§ion=ANY -P or -C, respectively. Regards, -- Dennis den Brok