Date: Wed, 12 Jan 2011 10:54:11 -0800 From: Freddie Cash <fjwcash@gmail.com> To: Lev Serebryakov <lev@serebryakov.spb.ru> Cc: stable@freebsd.org Subject: Re: geom_label, fstab without device names & swap partition? Message-ID: <AANLkTin=ug708a9c3WozMLhqxQ4=FiC-nvah3RRdj4F1@mail.gmail.com> In-Reply-To: <628423291.20110112210201@serebryakov.spb.ru> References: <628423291.20110112210201@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/1/12 Lev Serebryakov <lev@serebryakov.spb.ru>: > =C2=A0Now, 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? Use glabel(8) to label the device: # glabel label swap ada0s1b Then point to the label in /etc/fstab: /dev/label/swap swap sw ... --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin=ug708a9c3WozMLhqxQ4=FiC-nvah3RRdj4F1>