[wplug] Looking for a way to work with disk images

Christopher DeMarco cmd at alephant.net
Thu Dec 8 15:50:22 EST 2005


On Thu, Dec 08, 2005 at 03:46:05PM -0500, Bill Moran wrote:

> (i.e. mdconfig creates /dev/md4, which can be accessed as if it were
> a normal hard drive, such as /dev/ad0 or /dev/da0)

You can mount it as a "loopback" device - but that'll put the image
into your filesystem:

mount -o loop foo.img /mnt/foo

Or are you looking for the actual "create a block device"
functionality?


-- 
Christopher DeMarco <cmd at alephant.net>
Alephant Systems (http://alephant.net)
PGP public key at http://pgp.alephant.net
+1-412-708-9660
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.wplug.org/pipermail/wplug/attachments/20051208/e276adda/attachment.bin


More information about the wplug mailing list