Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 11:22:40 +0000
From:      Andrew Von Cid <andrew@accid.net>
To:        freebsd-questions@freebsd.org
Subject:   rc.diskless2 on FreeBSD 6.2
Message-ID:  <20080218112239.GA85792@farnborough.darq.net>

next in thread | raw e-mail | index | archive | help
Hey,

I'm currently setting up a system that runs off a compact flash disk.
I'd like to have memory filesystems for /var, /tmp & /dev to minimise
the amount of writes to the cf.

I read an article[1] that recommends the use of /etc/rc.diskless2,
however I don't have /etc/rc.diskless2 on 6.3 nor on 5.4, 6.1, 6.2 or
7.0.  I guess it must have been removed somewhere around 5.x

Is there an alternative script in newer versions of FreeBSD?

I can create the mfs partitions in fstab and write a simple script that
will populate them with the necessary files on boot.  However this seems
like more work than using something standard like rc.diskless2.  

Many thanks,


Andrew.

[1]http://www.feebsd.org/doc/en_US.ISO8859-1/articles/solid-state/ro-fs.html
-- 
accidents happen... 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080218112239.GA85792>