Quoth Matthew Seaman on Monday, 04 July 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.
> 
>       Cheers,
> 
>       Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
> JID: matt...@infracaninophile.co.uk               Kent, CT11 9PW
> 

I presume you meant to say "on a mounted partition"...?

-- 
.O. | Sterling (Chip) Camden      | http://camdensoftware.com
..O | sterl...@camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91              | http://chipstips.com

Attachment: pgpN6Qlmkf89J.pgp
Description: PGP signature

Reply via email to