Subject: Re: mounting MacOS X UFS filesystem on NetBSD/i386 2.99.9
To: Hauke Fath <hauke@espresso.rhein-neckar.de>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: current-users
Date: 10/25/2004 01:03:57
On Sunday 24 October 2004 01:42, Hauke Fath wrote:
> The macppc GENERIC config has
> options         APPLE_UFS       # Apple UFS support in FFS
> which may be what you need in addition to
> options         FFS_EI          # FFS Endian Independant support

Thanks, I should have looked there.

APPLE_UFS certainly gets me further.  I can now mount the filesystem but if I 
try to access it I get errors:

lap2# mount /dev/sd0f /mnt/extern
lap2# ls /mnt/extern
ls: /mnt/extern: Bad file descriptor
lap2# ls /mnt/extern/.
ls: /mnt/extern/.: Not a directory
lap2# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/wd0a      198831    77980    110910    41%    /
/dev/wd0h     1016791   369866    596086    38%    /var
/dev/wd0g     5956277  3433418   2225046    60%    /usr
/dev/wd0f     9213277  4998413   4214864    54%    /windows
/dev/wd0j     1050188       52   1050136     0%    /windows_d
/dev/wd0i    20204951 12866157   6328547    67%    /mnt
mfs:444        127495     1018    120103     0%    /tmp
kernfs              1        1         0   100%    /kern
procfs              4        4         0   100%    /proc
/dev/sd0f    58605301 12498371  43176665    22%    /mnt/extern

cheers
mark