Thread View: muc.lists.netbsd.tech.userlevel
10 messages
10 total messages
Started by Iskander Nizamutdinov
Tue, 27 Oct 2026 13:32
Cannot mount a UDF image
Author: Iskander Nizamutdinov
Date: Tue, 27 Oct 2026 13:32
Date: Tue, 27 Oct 2026 13:32
50 lines
3323 bytes
3323 bytes
Hello, I'm having a trouble mounting a UDF file system image that was previously made with 'makefs -t udf'. Even though I've successfully burned the image onto a DVD-R and then mounted said DVD-R, all inside NetBSD, I have no success mounting just the image to examine it before the burn. The reproduction on a fresh NetBSD/evbarm 11.0 install: arm64# makefs -t udf -o disctype=dvdrom test.udf . Calculated size of `test.udf' is 3104 KiB, 3 MiB, 0 GiB with 10 inodes Building disc compatible with UDF version 102 to 150 UDF properties 02004<REWRITABLE,READONLY> Volume set `6ae09af04d1a2379' Primary volume `776584a` Logical volume `anonymous` Total space on this medium approx. 2527 KiB, 2 MiB Recordable free space on this volume approx. 1888 KiB, 1 MiB ./.cshrc ./.klogin ./.lesshst ./.login ./.profile ./.shrc ./.ssh/known_hosts ./.ssh/known_hosts.old arm64# vndconfig -c vnd0 test.udf 2048/1/1/0 arm64# mount -t udf /dev/vnd0a /mnt mount_udf: Cannot mount /dev/vnd0a on /mnt: Operation not supported by device The last two commands are from vndconfig(8) man page example and the https://www.netbsd.org/docs/guide/en/chap-rmmedia.html#vnconfig guide article. Am I doing something wrong? Thanks, Iskander -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Martin Husemann
Date: Wed, 28 Oct 2026 10:26
Date: Wed, 28 Oct 2026 10:26
14 lines
1561 bytes
1561 bytes
On Tue, Oct 27, 2026 at 02:32:27PM +0100, Iskander Nizamutdinov wrote: > arm64# vndconfig -c vnd0 test.udf 2048/1/1/0 > arm64# mount -t udf /dev/vnd0a /mnt > mount_udf: Cannot mount /dev/vnd0a on /mnt: Operation not supported by > device vnd0a is probably not correct, you might need the "raw partition", which is vnd0c on evbarm. Martin -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Iskander Nizamutdinov
Date: Wed, 28 Oct 2026 11:31
Date: Wed, 28 Oct 2026 11:31
23 lines
2667 bytes
2667 bytes
On Wed Oct 28, 2026 at 11:26 AM CET, Martin Husemann wrote: > vnd0a is probably not correct, you might need the "raw partition", which > is vnd0c on evbarm. Unfortunately, changing vnd0a to vnd0c in the mount(8) command didn't give new results: arm64# mount -t udf /dev/vnd0c /mnt mount_udf: Cannot mount /dev/vnd0c on /mnt: Operation not supported by device For the sake of it, I also tried rvnd0c but to no avail: arm64# mount -t udf /dev/rvnd0c /mnt mount_udf: Cannot mount /dev/rvnd0c on /mnt: Operation not supported by device Thanks, Iskander -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Martin Husemann
Date: Wed, 28 Oct 2026 11:34
Date: Wed, 28 Oct 2026 11:34
12 lines
1490 bytes
1490 bytes
On Wed, Oct 28, 2026 at 11:26:46AM +0100, Martin Husemann wrote: > vnd0a is probably not correct, you might need the "raw partition", which > is vnd0c on evbarm. Maybe you also need a -r option for mount (at least that is how I always used it for DVD-R's). Martin -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: RVP
Date: Wed, 28 Oct 2026 12:08
Date: Wed, 28 Oct 2026 12:08
17 lines
1570 bytes
1570 bytes
On Tue, 27 Oct 2026, Iskander Nizamutdinov wrote: > I'm having a trouble mounting a UDF file system image that was > previously made with 'makefs -t udf'. > [...] > arm64# mount -t udf /dev/vnd0a /mnt > mount_udf: Cannot mount /dev/vnd0a on /mnt: Operation not supported by device > Did you add `udf' to `/etc/modules.conf'? On arm64, kern.securelevel=1, so kernel modules cannot be loaded as needed. -RVP -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Iskander Nizamutdinov
Date: Wed, 28 Oct 2026 12:20
Date: Wed, 28 Oct 2026 12:20
39 lines
3148 bytes
3148 bytes
On Wed Oct 28, 2026 at 12:34 PM CET, Martin Husemann wrote: > Maybe you also need a -r option for mount (at least that is how I always > used it for DVD-R's). Unfortunately, the -r option for mount(8) didn't change anything. I've tested that on the amd64 platform (at least in the USB installation media environment) everything works as expected and according to all manuals: # makefs -t udf -o disctype=dvdrom test.udf /tmp Calculated size of `test.udf' is 3104 KiB, 3 MiB, 0 GiB with 3 inodes Building disc compatible with UDF version 102 to 150 UDF properties 02004<REWRITABLE,READONLY> Volume set `6ae1ecbc1f1cf35a' Primary volume `16ce653f` Logical volume `anonymous` Total space on this medium approx. 2528 KiB, 2 MiB Recordable free space on this volume approx. 1888 KiB, 1 MiB /tmp/gettytab /tmp/sysinst.trem # vndconfig vnd0 test.udf 2048/1/1/0 # mount -t udf /dev/vnd0a /mnt # ls /mnt gettytab sysinst.term So the problem must be in arm64 specifics. Thanks, Iskander -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Iskander Nizamutdinov
Date: Wed, 28 Oct 2026 12:40
Date: Wed, 28 Oct 2026 12:40
15 lines
2488 bytes
2488 bytes
On Wed Oct 28, 2026 at 1:08 PM CET, RVP wrote: > Did you add `udf' to `/etc/modules.conf'? On arm64, kern.securelevel=1, so > kernel modules cannot be loaded as needed. I didn't, and now I did, and this is the solution indeed! Now, is the error message that mount_udf(8) emits in my case explicit enought? Or my issue isn't a reason to file a bug? Thanks, Iskander -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: RVP
Date: Wed, 28 Oct 2026 13:04
Date: Wed, 28 Oct 2026 13:04
23 lines
1874 bytes
1874 bytes
On Wed, 28 Oct 2026, Iskander Nizamutdinov wrote:
> Now, is the error message that mount_udf(8) emits in my case explicit
> enought? Or my issue isn't a reason to file a bug?
>
mount(8) already states:
DIAGNOSTICS
The error "Operation not supported by device" indicates that
the mount for the specified file system type cannot be completed
because the kernel lacks support for the said file system.
See options(4).
I guess another sentence could be added indicating that kern.securelevel >
0 prevents autoloading of reqd. FS modules resulting in the same error. (Note
that securelevel(9) already states this explicitly.)
-RVP
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: Jason Thorpe
Date: Wed, 28 Oct 2026 14:59
Date: Wed, 28 Oct 2026 14:59
100 lines
9649 bytes
9649 bytes
--Apple-Mail=_0C03D44D-9FAF-475E-A927-00A7310C225D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 28, 2026, at 8:40=E2=80=AFAM, Iskander Nizamutdinov = <napisat@iskande.ru> wrote: >=20 > I didn't, and now I did, and this is the solution indeed! Now, is the > error message that mount_udf(8) emits in my case explicit enought? Or > my issue isn't a reason to file a bug? I=E2=80=99d say =E2=80=9Cfile a bug=E2=80=9D. The error should be = easier to understand, or at least easy for a program to distinguish so = that he human typing the command can be properly informed. -- thorpej --Apple-Mail=_0C03D44D-9FAF-475E-A927-00A7310C225D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On Oct 28, 2026, at 8:40=E2=80=AFAM, Iskander = Nizamutdinov <napisat@iskande.ru> wrote:</div><br = class=3D"Apple-interchange-newline"><div><span style=3D"caret-color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">I didn't, and now I did, and this is the = solution indeed! Now, is the</span><br style=3D"caret-color: rgb(0, 0, = 0); font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration-line: none; = text-decoration-thickness: auto; text-decoration-style: solid;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">error message that mount_udf(8) emits in my = case explicit enought? Or</span><br style=3D"caret-color: rgb(0, 0, 0); = font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant-caps: normal; font-weight: 400; letter-spacing: normal; = orphans: 2; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration-line: none; = text-decoration-thickness: auto; text-decoration-style: solid;"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; = letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-text-stroke-width: 0px; text-decoration: none; float: none; = display: inline !important;">my issue isn't a reason to file a = bug?</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; orphans: 2; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; = text-decoration-line: none; text-decoration-thickness: auto; = text-decoration-style: = solid;"></div></blockquote></div><div><br></div><div>I=E2=80=99d say = =E2=80=9Cfile a bug=E2=80=9D. The error should be easier to = understand, or at least easy for a program to distinguish so that he = human typing the command can be properly informed.</div><br><div> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; line-height: normal; orphans: 2; text-align: = auto; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; ">-- thorpej</div></span> </div> <br></body></html>= --Apple-Mail=_0C03D44D-9FAF-475E-A927-00A7310C225D-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Cannot mount a UDF image
Author: David Holland
Date: Sun, 01 Nov 2026 03:12
Date: Sun, 01 Nov 2026 03:12
20 lines
2649 bytes
2649 bytes
On Wed, Oct 28, 2026 at 10:59:38AM -0400, Jason Thorpe wrote: > > I didn't, and now I did, and this is the solution indeed! Now, is the > > error message that mount_udf(8) emits in my case explicit enought? Or > > my issue isn't a reason to file a bug? > > I?d say ?file a bug?. The error should be easier to understand, or > at least easy for a program to distinguish so that he human typing > the command can be properly informed. Do we have a way for a user process to check which filesystems are supported by the kernel? Each mount_* should check that and abort early if not, since it's never going to work. -- David A. Holland dholland@netbsd.org -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads