FreeBSD 11 and 4+ GB files on optical disc
David Christensen
dpchrist at holgerdanske.com
Mon Feb 13 05:40:14 UTC 2017
On 02/10/17 10:46, Freddie Cash wrote:
> # kldload udf
> # mount -t udf /dev/cd0 /mnt
toor at freebsd:/root # kldload udf
toor at freebsd:/root # mkdir /mnt/cd0-udf
toor at freebsd:/root # mount -t udf /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument
> You RTFM'd the wrong M. ;) Pretty much every option can be loaded as a
> module at runtime nowadays.
>
> I found this by doing a simple:
> # ls /boot/kernel/*udf*
toor at freebsd:/root # l /boot/kernel/*udf*
/boot/kernel/udf.ko* /boot/kernel/udf_iconv.ko*
> There's also a mount_udf(8) man page to read through.
RTFM. Try invoking mount_udf directly:
toor at freebsd:/root # mount_udf /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument
Try it verbose:
root at freebsd:~ # mount_udf -v /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument
root at freebsd:~ # mount_udf -v -v -v -v -v -v -v /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument
Take a look at the device special file:
root at freebsd:~ # ls -l /dev/cd0
crw-r----- 1 root operator 0x58 Feb 12 21:10 /dev/cd0
mount doesn't show it as already being mounted:
root at freebsd:~ # mount | grep cd0
I wonder if Xfce has grabbed the device file (?). There is an icon on
the desktop with the volume label of the DVD. Right-clicking shows a
menu including "Mount Volume", so I don't think Xfce has it mounted.
Eject DVD using the button on the drive, exit Xfce, insert DVD, try
again from console -- nope, same error message.
Any ideas, anyone?
David
More information about the freebsd-fs
mailing list