Quote:
Originally Posted by mark_k
Why the strange offset and sizelimit arguments? Aren't they supposed to be specified in bytes, not (512-byte) sectors?
|
Yeah they have to be in bytes (of kbytes or mbytes... just use K or M or G at the end of the statement). Thanks for that, too much late night activity. I'm able to mount the root partition doing this:
Code:
losetup -o 65536 --sizelimit 724566K /dev/loop1 /mnt/Documents\ and\ Settings/Public/Documents/Amiga\ Files/WinUAE/tapeamix.hdf
mount -o loop -o ufstype=old,ro -r -t ufs /dev/loop1 /mnt2/
For those who don't know the AMIX disk structure, the first 128 blocks are reserved for the RDB (Rigid Disk Block), hence the 65536 bytes offset, then you have your UNIX_Root partition (in this case mine is 724556K large), then the UNIX_Swap partition, then the UNIX_Boot partition that is always 2048k big. Anything after that are user created partitions, made after firstboot.