Automatic fsck

Uwe L. Korn uwelk at xhochy.com
Tue Aug 12 20:07:29 UTC 2008


Seeing it from the perspective of an common user, fsck is something
whose function is unknown and therefore running it is senseless, so they
might turn if off directly or skip it always which is not good.

My idea:

-> Mount the partition read-only
-> Capture writes with something like AuFS/Union-FS
-> run fsck in between
-> When fsck finished, remount the partition as 'rw'  and write the
changes done in the memory back to the disk

This would require a bit more RAM but there might be a other solution
such as using a second partition as interim storage for the changed blocks.

Greets
Uwe


-- 

I'm the one and only XhochY ;-)

http://xhochy.org/en/ - my Blog
http://xhochy.org/twittering - my Microblog
http://schoorbs.xhochy.com/ - my selfmade room and resource booking system
http://static.xhochy.com/keys/91B032A5.asc - my PGP key

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20080812/07423759/attachment.pgp>


More information about the Ubuntu-devel-discuss mailing list