a nice linux util a colleague had introduced me to - sync!
At times, my system just refuses to work for many reasons and the only option left is a hard reboot. Before touching that tiny button, just run `sync` as root and at least my filesystem remains clean - it flushes all in core buffers to disk and also updates the superblock.
Not sure if it also works with fuse ie. things like ntfs-3g; but I suppose it does, because I never had a unclean ntfs partition after I started doing sync.
Subscribe to:
Post Comments (Atom)
-
Usually the x86 boot loader is written in assembler. We will be exploring the possibility of writing one in C language (as much as possible)...
-
Most hobby osdev projects prefer *nix+gcc combination these days, primarily because there are a bunch of nice tutorials and examples availab...
-
Assuming that you have your (or Linux/*BSD/Solaris/Windows or any other) kernel on a bootable device, you can debug the kernel and also the ...
you must run tis command before putting ur laptop in the backpack :D
ReplyDeleteexactly that very incident made me write this post !
ReplyDelete