So I'm trying to setup ufs and glabels on a system for future use in /etc/fstab. But for some reason they disapear after rebooting the system from single user mode.
To create them, I boot the system into single user mode and run these commands:
After reboot, the labels seem to have gone away.
I'm running a GENERIC 8.1 amd64 kernel, that appears to have GEOM_LABEL built in.
Any ideas?
To create them, I boot the system into single user mode and run these commands:
Code:
boot -s
< snip kernel boot >
Enter full pathname of shell or RETURN for /bin/sh:
# tunefs -L rootfs /dev/da0s1a
# glabel label swap /dev/da0s1b
# ls -l /dev/ufs/
crw-r----- 1 root operator 0, 92 Sep 22 17:31 rootfs
# ls -l /dev/label/
crw-r----- 1 root operator 0, 83 Sep 22 17:31 swap
# shutdown -r now
After reboot, the labels seem to have gone away.
Code:
> ls -l /dev/ufs/
total 0
ls -l /dev/label/
total 0
I'm running a GENERIC 8.1 amd64 kernel, that appears to have GEOM_LABEL built in.
Code:
# uname -v
FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Any ideas?