[Cialug] Linux equivalent to OS X hdiutil

Dave Weis djweis at internetsolver.com
Fri Jun 19 09:20:32 CDT 2009


I don't know about the compressed or grow as necessary but you can make 
a sparse file with dd, make a filesystem on it, and then loopback mount 
it. Something like

dd if=/dev/null of=disk.img bs=1M count=100
mkfs -t ext3 disk.img
mount -o rw,loop disk.img /mnt/image

Rough guess but approximately correct.

dave



Tom Pohl wrote:
> I'd bet TrueCrypt will give you what you're looking for with the added  
> benefit of encryption :)
> 
> http://www.truecrypt.org/
> 
> -Tom
> 
> On Jun 18, 2009, at 7:08 PM, David W. Body wrote:
> 
>> Hi everyone,
>>
>> Is there a Linux equivalent to the OS X hdiutil command?
>>
>> I want to create a sparse, compressed, read-write disk image that  
>> will grow as necessary when data is added to it.
>>
>> --David W. Body / Big Creek Software, LLC
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug




-- 
Dave Weis
515-224-9229
djweis at internetsolver.com
http://www.internetsolver.com/


More information about the Cialug mailing list