mount /unmount

Matthew Seaman m.seaman at
Mon Jul 4 19:43:44 UTC 2011

On 04/07/2011 15:53, tethys ocean wrote:
>> If a partition was not unmounted cleanly (eg. the machine crashed, or
>> > the power was cut off suddenly) then fsck(8) should be used to check and
>> > fix any problems on the filesystem.  If you've booted into single-user
>> > mode, then definitely fsck any partitions before trying to mount them.
>> >
> *I guess If I can do fsck without unmount partition I can lost all my data
> isn't it?*

fsck on an unmounted partition will change on-disk data structures in
ways that the kernel doesn't expect.  So, yes, one consequence is that
you can lose or corrupt data.  You probably wouldn't lose everything in
the partition -- but you would tend to cause corruption predominantly in
files that are more actively used.

So don't do that.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list