I have under linux:
Device Boot Start End Blocks Id System
/filename.img * 63 1007999 503968+ a5 FreeBsd
Under above partition i have two slices: ufs filesystem and swap. I don't know, how I can determine mount offset to mount ufs partition.
mount -r -t ufs -o loop,offset=32256,ufstype=ufs2 filename.img /test/
dmesg output
ufs_read_super: bad magic number
It's not working.