How customized can an mfsroot be?

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Apr 7 07:22:17 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/04/2010 06:28:40, Peter Steele wrote:
> I found something else that's missing--/var/db/pkg is empty. It looks
> like what the auto-var process does is a construct basic directory
> structure but no data. Is there a solution to this? Can I get /var to
> be populated with the full contents of the real /var?

Can you write a few shell scripts?  You'ld need to create a tarball of
the /var contents you need on the box, and explode it onto /var at boot
time -- if you're using auto-var on MFS all the time, you'll need to set
that up to happen on every reboot.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku8MqMACgkQ8Mjk52CukIyVvQCfemeBFn3dIshT6hCXQTxXksGU
tREAmwWSJlAFsZC0YO5b1Z2uinCssdqp
=5x6X
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list