mdconfig and UDF

John Kennedy warlock at phouka.net
Fri Jul 14 19:11:26 UTC 2017


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 argument

If 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


More information about the freebsd-stable mailing list