tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Specifying root device in /etc/fstab
aniou%smutek.pl@localhost (Piotr Meyer) writes:
>In fstab(5)[1] I found something like:
> To use ``NAME'' on a non-GPT disk, use:
> NAME=sb2k5Root/a / ffs rw,log 1 1
> NAME=sb2k5Root/b none swap sw,dp 0 0
That's a wedge construct. Currently the kernel will create wedges only
from GPT labels. You need a kernel built with the DKWEDGE_METHOD_BSDLABEL
option to get such names for disklabel partitions.
There is some compatibility code so that default labels (with empty
packname or a packname of 'fictitious') generate wedges named like
a partition, e.g. wd0a, wd0b, etc. The libutil code also falls back
to accept something like NAME=wd0a, NAME=wd0b, ... The fstab then
works with and without DKWEDGE_METHOD_BSDLABEL for easier updates.
But since the name includes the device name it doesn't help in this
case.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index