On Wed, Jan 12, 2011 at 09:02:01PM +0300, 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?
Have you tried using glabel(8)? It allows you to assign a name to a slice. The slice should not be in use at the time, and if it has a filesystem on it you may have problems as glabel(8) uses the last block for a data store. Regards, Gary _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"