To mount a ufs (Solaris 10x86) drive on Ubuntu/Linux
Do we have ufs support:
root@lsolx86:[/media]#lsmod | grep ufs
ufs 75524 0
Can we see the hardware:
root@lsolx86:[/media]#fdisk -l /dev/sdb
Disk /dev/sdb: 1006 MB, 1006108672 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 123 980992 bf Solaris
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(1023, 254, 63) logical=(0, 32, 33)
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(122, 65, 7)
Not so obvious mount command:
mount -t ufs -o ro,ufstype=sunx86 /dev/sdb1 /mnt/