tech-userlevel archive

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

Re: Autoconfiguring root device and fstab(5) (wedges?)

(forgot to put tech-userlevel@ on CC)

On 26.03.2011 17:23, Christos Zoulas wrote:
>>>> I tried to use dkscan_bsdlabel(8) together with sysctl
>>>> kern.root_device very early during boot
>>>> (/etc/rc.conf.d/fsck_root), however it returns "Device busy",
>>>> so I can't use it to circumvent the missing
>> If fstab is the only thing that breaks, perhaps we can automate the
>> fstab conversion for at least ffs...

It's pretty straightforward to have both /etc/fstab.domU +
/etc/fstab.native and have a small script in rc.conf.d that magically
updates the /etc/fstab link to either one of these files (given
kern.root_device value). It looks like a hack though, as GPT + wedges
could solve this. I am struggling with it though :)

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index