From owner-freebsd-fs@freebsd.org Mon Feb 13 07:51:18 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44547CDDC1F for ; Mon, 13 Feb 2017 07:51:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 956AC9FC for ; Mon, 13 Feb 2017 07:51:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA27269; Mon, 13 Feb 2017 09:51:09 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1cdBPh-000BVW-K7; Mon, 13 Feb 2017 09:51:09 +0200 Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: David Christensen , FreeBSD Filesystems References: <20170210031741.3d4348f6.freebsd@edvax.de> <4b4145c4-1381-0b95-0e06-46affbb6d851@holgerdanske.com> <20170210101633.4d5da7df@ernst.home> <7827d6b5-dc0f-21a9-873d-6356986485a5@holgerdanske.com> From: Andriy Gapon Message-ID: <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> Date: Mon, 13 Feb 2017 09:50:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 07:51:18 -0000 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