NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46479 (mount_udf fails to mount some filesystems)

The following reply was made to PR kern/46479; it has been noted by GNATS.

From: Reinoud Zandijk <>
Subject: Re: kern/46479 (mount_udf fails to mount some filesystems)
Date: Thu, 24 May 2012 13:39:30 +0200

 Hi Martin,
 i've analysed the disc image and came to the following conclusions:
 1) it is a 2048 byte sector image
 2) it is a read-only UDF v1.02 image
 3) the structure of the disc is ok BUT the logical volume integrity descriptor
 sequence pointer is WRONG; it points ins blauw hinein to some file block (64).
 4) The one logical volume integrity descriptor has been recorded at sector
 (22); it is a bit odd but not invalid.
 Aparently Windows7 doesn't check the logical volume integrity descriptor at
 all when dealing with such read-only partitions. Thats a Windows7 bug.
 UDFclient can read the disc when -b 2048 has been specified. Its is not that
 strict either and will mount the disc READ_ONLY due to open/missing integrity.
 The NetBSD kernel UDF can read the disc fine IFF it had a closed integrity
 sequence. You'd have to use `vnconfig vnd0 test.iso 2048/1/1/1' and then mount
 on vnd0d. It doesn't allow you now due to that on-disc error. Its a safety
 precaution that in this case bites you. There is no fsck_udf yet for NetBSD;
 its one of my running projects.
 As for this disc, you can extract the data with `udfclient -b2048 test.iso'
 and the copy the stuff out.

Home | Main Index | Thread Index | Old Index