in message <[email protected]>,
wrote Polytropon thusly...
>
> On Sat, 17 Oct 2009 00:43:37 +0300, Manolis Kiagias <[email protected]> wrote:
> > Is this your normal '/' filesystem, and is it mounted?  If it is
> > reboot your system and select 'single user mode' from the
> > loader.menu
> > Then use glabel in the single user mode prompt.
> > This will not work if you just 'shutdown now', you have to
> > reboot into single user mode.
>
> Isn't it sufficient to unmount any partitions and keep / in -o ro
> mode, and then perform the glabel command, which is obviously best
> done in single user mode?
>
>       # shutdown now
>       # umount /home /usr /var /tmp
>       # mount -r /
>       # glabel label rootfs /dev/ad0s1a

That did not work for the 3-4 times I had tried on 6.[2-4]-STABLE.
Booting regulary in single user mode (choice 4 or 5) also did not
allow glabel'ing (for root).


  - parv

-- 

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to