Hi there,

I wrote a script that modifies fstab so that UFS filesystems are mounted via their UFS IDs and swap partitions are labeled with glabel in order to access them that way.

It works for me on at least FreeBSD 7.2 and 8.0. Use at your own risk.

For swap devices it is neccesary to label the device in order to recognize it later and that requires that swap is turned off briefly.

The script requires perl to run.

The script is here:
http://borderworlds.dk/utils/fstab-glabel.pl

Feel free to use it if you find it useful.

--
Christian Laursen
_______________________________________________
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"

Reply via email to