[Gllug] moving system from one disc to another

Michael-John Turner mj at mjturner.net
Thu Sep 2 10:22:46 UTC 2010


On Thu, Sep 02, 2010 at 09:15:02AM +0100, Alain Williams wrote:
> Linux doesn't have raw devices for things like disks - one of the differences with Unix.
> On you only get the block device for a disk.

That's not strictly true. They're not typically there by default, but on
Linux systems you can create raw devices (using MAKDEV) and bind them to
block devices using raw(8). Using raw devices is deprecated though -
opening a block device with O_DIRECT is now the preferred approach.

-mj
-- 
 Michael-John Turner
 mj at mjturner.net      <>     http://mjturner.net/
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list