NetBSD-Bugs archive

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

Re: kern/49933 (makefs -t udf produces non mountable images)

On Wed, May 27, 2015 at 07:04:39AM +0000, wrote:
> Synopsis: makefs -t udf produces non mountable images
> Responsible-Changed-From-To: kern-bug-people->reinoud
> Responsible-Changed-By:
> Responsible-Changed-When: Wed, 27 May 2015 07:04:39 +0000
> Responsible-Changed-Why:
> Over to maintainer - is the in-kernel udf able to deal with r/o images at all?

reading the PR, i think the problem is quite straightforward. You are trying
to mount a .iso file, which by its FS properties gets a sector size of 512. If
it was written on BD it would get the sector size of the device, 2048 bytes.
By using a vnd you can bypass this. I am not sure what type of disc is created
as the PR is ambiguous but mounting readonly will work for sure. Might as well
be writeable too but first try out readonly mounting:

vnconfig vnd0 udf.iso 2048/1/1/1
mount -t udf -o rdonly /dev/vnd0d /mnt

With regards,

Home | Main Index | Thread Index | Old Index