[Gllug] moving system from one disc to another

Nix nix at esperi.org.uk
Fri Sep 3 07:21:46 UTC 2010


On 2 Sep 2010, Alain Williams outgrape:
> <pedant>
> A write to the raw device does not do a kernel buffer, so you know that it is
> with the device when the write() returns. However: many devices now have lots of buffer,
> so for *complete* security you may need to do some device specific magic to ensure
> that the data has been flushed to the brown stuff - to ensure that you are not
> in a different sort of brown stuff if the power goes.
> </pedant>

And, of course, the filesystem knows how to do that: *another* reason to go via the
fs rather than directly accessing the block device.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list