Remounting root

Giorgos Keramidas keramida at
Wed Jun 29 14:38:37 GMT 2005

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 

- Giorgos

More information about the freebsd-questions mailing list