Date: Mon, 13 Feb 2017 09:50:13 +0200 From: Andriy Gapon <avg@FreeBSD.org> To: David Christensen <dpchrist@holgerdanske.com>, FreeBSD Filesystems <freebsd-fs@FreeBSD.org> Subject: Re: FreeBSD 11 and 4+ GB files on optical disc Message-ID: <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> In-Reply-To: <f7d351de-3f69-78d1-f73c-f3f9187d13a8@holgerdanske.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> <f7d351de-3f69-78d1-f73c-f3f9187d13a8@holgerdanske.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/02/2017 07:40, David Christensen wrote: > 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 If your disk has iso9660 filesystem on it, then trying to mount it as a UDF filesystem won't work, obviously. P.S. You don't have to thoughtlessly follow any advice you see on the internets :-) >> 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? -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?220907b1-f9ad-8711-3eb6-91fa75ea19f9>