Hi. Is there any chance to mount UDF filesystem under FreeBSD with mdconfig and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 /mnt/cdrom gives me # mount -t udf /dev/md0 cdrom mount_udf: /dev/md0: Invalid argument So... Thanks. Eugene.
On Fri, 14 Jul 2017 14:31:15 +0500 "Eugene M. Zheganin" <emz at norma.perm.ru> wrote:> Hi. > > > Is there any chance to mount UDF filesystem under FreeBSD with > mdconfig and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me > the readme.txt with "This is UDF, you idiot" and mount -t > udf /dev/md0 /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument > > > So...Hi, Mount - probably not, but you can use archivers/p7zip to decompress the image. -- regards, Maciej Suszko. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20170714/b666721b/attachment.sig>
On Fri, Jul 14, 2017 at 02:31:15PM +0500, Eugene M. Zheganin wrote:> Hi. > > > Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argument > > > So...Most likely this has nothing to do with md(4), but due to old UDF fs driver not supporting the supposedly newer version of UDF layout you have. It is a guess only, but not groundless.
Hi!> Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argumentsysutils/udfclient provides some rough way to access the image -- would that help ? -- pi at opsec.eu +49 171 3101372 3 years to go !
On Fri, Jul 14, 2017 at 02:31:15PM +0500, Eugene M. Zheganin wrote:> Is there any chance to mount UDF filesystem under FreeBSD with mdconfig > and ISO image ? Mount -t cd9660 /dev/md0 /mnt/cdrom gives me the > readme.txt with "This is UDF, you idiot" and mount -t udf /dev/md0 > /mnt/cdrom gives me > > # mount -t udf /dev/md0 cdrom > mount_udf: /dev/md0: Invalid argumentIf I make an ISO like this (currently under 11.1-RC3): mkisofs -R -J -joliet-long -udf -iso-level 3 -o /path/to/test.iso /source/files/dir I can mount it like this via md: mdconfig -a -t vnode -f /path/to/test.iso -u 0 mount -t udf -o ro /dev/md0 /mnt When I burn it to a physical disk, I just mount it like this: mount -t udf -o ro /dev/cd0 /mnt