Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2017 09:40:37 -0700 (PDT)
From:      John Kennedy <warlock@phouka.net>
To:        emz@norma.perm.ru, freebsd-stable@freebsd.org
Subject:   Re: mdconfig and UDF
Message-ID:  <201707141640.v6EGebLm037232@phouka1>
In-Reply-To: <e6a6c2d6-254f-7c1b-1696-ebabdf4f5e65@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707141640.v6EGebLm037232>