geom_label, fstab without device names & swap partition?

Andrey V. Elsukov bu7cher at yandex.ru
Wed Jan 12 19:08:16 UTC 2011


On 12.01.2011 21:02, Lev Serebryakov wrote:
> Hello, Stable.
> 
>   Now, with "newfs -L name", geom_label and /dev/ufs/* it is possible
> to not use device names for FSes in "/etc/fstab" at all. But what to
> do with swap partitions? How to say, that I want swap on
> "/dev/ada0s1b" or "/dev/ad0s1b" whatever name it has now?

You can label swap partitions with glabel(8) and use this label in
fstab.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110112/a17e2bd8/signature.pgp


More information about the freebsd-stable mailing list