freebsd8.2 with /etc mount point can't run correctly

Arthur Chance freebsd at qeng-ho.org
Tue May 28 10:59:00 UTC 2013


On 05/28/13 09:27, s m wrote:
> hello all,
>
> i want to install freebsd8.2 with different partitions. i want to have
> a separated partition for /etc. therefore this is my partitions: / ,
> /var, /etc. /tmp, /usr, swap.
>
> but after installing, freebsd can not run correctly and have problem
> with fstab. i checked my fstab file (fstab file in /etc partition) and
> every thing is ok. i think i should do something in order to use fstab
> file in different mount point. is it true? what should i do to have a
> freebsd with a separate /etc mount point?

Generally speaking, a separate /etc partition is A Bad Thing(TM), and a 
sign you're doing things wrong.

However, nanobsd does (partially) separate /etc out, and it does so 
using /etc/rc.initdiskless and its early (pre-rc) mounting code. Take a 
look at rc.initdiskless and the nanobsd code in

/usr/src/tools/tools/nanobsd/nanobsd.sh

if you really want to go down this route.

-- 
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

		_Lord of the Rings 2.0, the Web Edition_


More information about the freebsd-questions mailing list