Subject: mounting MacOS X UFS filesystem on NetBSD/i386 2.99.9
To: None <>
From: Mark Davies <>
List: current-users
Date: 10/23/2004 15:00:44
Is there some magic to mounting a MacOS UFS filesystem on NetBSD/i386 or does
it only work for NetBSD/macppc ?

I have an external usb2 disk that I want to share between a MacOS PowerBook
and a NetBSD/i386 box.  The disk has a Windows FAT32 partition and an
Apple_UFS partition on it.  Both NetBSD and MacOS can access the FAT32
partition and  the Mac can access the Apple UFS partition (not surprisingly)
but if I try to mount that partition on NetBSD I get:

lap2# mount -t ufs /dev/sd0f /mnt/extern
mount_ufs: /dev/sd0f on /mnt/extern: incorrect super block

disklabel gives:
6 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d: 156301488         0     unused      0     0        # (Cyl.      0 - 155060)
 e:  35342937        63      MSDOS                     # (Cyl.      0*-  35062*)
 f: 120958488  35343000  Apple UFS      0     0     0  # (Cyl.  35062*- 155060)