Subject: port-macppc/23923: libsa missing support for APPLE_UFS
To: None <gnats-bugs@gnats.netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: netbsd-bugs
Date: 12/29/2003 00:17:13
>Number:         23923
>Category:       port-macppc
>Synopsis:       libsa missing support for APPLE_UFS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 29 05:18:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Darrin B. jewell
>Release:        -current, updated via cvs ~20031227T2330Z
>Organization:
>Environment:
src/sys/lib/libsa/ufs_ls.c version:
 $NetBSD: ufs_ls.c,v 1.6 2003/08/07 16:32:31 agc Exp $
>Description:

libsa's does not correctly handle the 1024 byte DIRBLKSIZ
that can be encountered on APPLE_UFS filesystems.

See also kern/17345 "Apple UFS filesystem support, patches included"

>How-To-Repeat:

Code inspection.

Most of the time libsa will just work, but it could potentially
encounter directories which it will not read correctly.

>Fix:

Tweak directory block reading code in libsa to handle records
that may cross 512 byte boundaries.

>Release-Note:
>Audit-Trail:
>Unformatted: