Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2017 21:40:18 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: FreeBSD 11 and 4+ GB files on optical disc
Message-ID:  <f7d351de-3f69-78d1-f73c-f3f9187d13a8@holgerdanske.com>
In-Reply-To: <CAOjFWZ7XjR9yq=qc0MFVWHjF0J=GzE2doJ48TZoziR-fcBgB0Q@mail.gmail.com>
References:  <20170210031741.3d4348f6.freebsd@edvax.de> <4b4145c4-1381-0b95-0e06-46affbb6d851@holgerdanske.com> <20170210101633.4d5da7df@ernst.home> <7827d6b5-dc0f-21a9-873d-6356986485a5@holgerdanske.com> <CAOjFWZ7XjR9yq=qc0MFVWHjF0J=GzE2doJ48TZoziR-fcBgB0Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/10/17 10:46, Freddie Cash wrote:
> # kldload udf
> # mount -t udf /dev/cd0 /mnt

toor@freebsd:/root # kldload udf
toor@freebsd:/root # mkdir /mnt/cd0-udf
toor@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@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@freebsd:/root # mount_udf /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument


Try it verbose:

root@freebsd:~ # mount_udf -v /dev/cd0 /mnt/cd0-udf
mount_udf: /dev/cd0: Invalid argument

root@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@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7d351de-3f69-78d1-f73c-f3f9187d13a8>