Remounting root
Hello, could somebody tell me how to reboot the root filesystem in read-write mode under single user mode? Thanks, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remounting root
On Wed, 29 Jun 2005, [ISO-8859-1] Kövesdán Gábor wrote: could somebody tell me how to reboot the root filesystem in read-write mode under single user mode? # mount -u / The -u option is actually the update option, which tries to restore the mount options of the file system to the defaults defined in /etc/fstab (which includes rw too). - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remounting root
# mount -u / The -u option is actually the update option, which tries to restore the mount options of the file system to the defaults defined in /etc/fstab (which includes rw too). I've tried it, but when I run fsck it wrtites: ** /dev/as0s1a (NO WRITE) And if I try to enable MAC multilabeling or SoftUpdates I get: tunefs: /dev/ad0s1a: Failed to write superblock Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remounting root
On Wed, 29 Jun 2005, [ISO-8859-1] Kövesdán Gábor wrote: # mount -u / The -u option is actually the update option, which tries to restore the mount options of the file system to the defaults defined in /etc/fstab (which includes rw too). I've tried it, but when I run fsck it wrtites: ** /dev/as0s1a (NO WRITE) You shouldn't fsck write-enabled file systems. The usual things I run whenever I'm in single user mode are (the order *IS* important): # adjkerntz -i # swapon -a # fsck -p # mount -u / # mount -va And if I try to enable MAC multilabeling or SoftUpdates I get: tunefs: /dev/ad0s1a: Failed to write superblock Probably because you have already remounted your root file system as read-write. - Giorgos___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remounting root
Probably because you have already remounted your root file system as read-write. - Giorgos Okay, thanks. :) You're right, I thought I should remount root in read-only mode to toggle multilabel since its setting is stored in the superblock, and when one change it one should write to the superblock. Thanks, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]