Shantonu Sen writes:
> You don't.
>
> At least not using hdiutil. Darwin is not Mac OS X, don't expect the
> services of Mac OS X to be present, working, or tested.
The command line hdi stuff from MacOSX is a mystery to me anyway,
so it is no big loss. I'm used to mdconfig from freebsd
for disk images anyway.
> You can give something fairly similar to work with:
> [root@ssen]# cd /tmp/
> [root@ssen]# dd if=/dev/zero of=100m.dmg bs=1m count=100
> 100+0 records in
> 100+0 records out
> 104857600 bytes transferred in 2.039734 secs (51407490 bytes/sec)
> [root@ssen]# /usr/libexec/vndevice attach /dev/vn0 /tmp/100m.dmg
> [root@ssen]# newfs_hfs -s /dev/rvn0
> Initialized /dev/rvn0 as a 100 MB HFS Plus volume
> [root@ssen]# mkdir /mnt
> [root@ssen]# mount -t hfs /dev/vn0 /mnt/
> [root@ssen]#
>
Ah, this makes perfect sense. Thanks!
Drew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-x86 mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden