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)



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

From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: reinoud%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
	gnats-admin%netbsd.org@localhost, martin%NetBSD.org@localhost
Subject: Re: kern/49933 (makefs -t udf produces non mountable images)
Date: Wed, 27 May 2015 12:30:14 +0200

 On Wed, May 27, 2015 at 07:04:39AM +0000, martin%NetBSD.org@localhost wrote:
 > Synopsis: makefs -t udf produces non mountable images
 > 
 > Responsible-Changed-From-To: kern-bug-people->reinoud
 > Responsible-Changed-By: martin%NetBSD.org@localhost
 > 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,
 Reinoud
 


Home | Main Index | Thread Index | Old Index