From owner-freebsd-fs@freebsd.org Tue Feb 14 06:38:41 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 AEC9ECD188F for ; Tue, 14 Feb 2017 06:38:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "GeoTrust SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9285C19D8 for ; Tue, 14 Feb 2017 06:38:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 13 Feb 2017 22:38:36 -0800 Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: 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> <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> From: David Christensen Message-ID: Date: Mon, 13 Feb 2017 22:38:51 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <220907b1-f9ad-8711-3eb6-91fa75ea19f9@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Tue, 14 Feb 2017 06:38:41 -0000 On 02/12/17 23:50, Andriy Gapon wrote: > 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 :-) I set up Cygwin on Vista today and did some testing: 2017-02-13 22:28:37 admin@vista ~ $ ls -l /cygdrive/d total 4355764 -r--r--r-- 1 admin None 4460298272 Feb 9 08:52 201701_TAR.CPT -r--r--r-- 1 admin None 81 Feb 9 09:00 201701_TAR_CPT.SHA256 2017-02-13 22:29:42 admin@vista ~ $ time sha256sum -b /cygdrive/d/201701_TAR.CPT 87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e */cygdrive/d/201701_TAR.CPT real 4m51.455s user 0m26.052s sys 0m0.982s 2017-02-13 22:34:35 admin@vista ~ $ cat /cygdrive/d/201701_TAR_CPT.SHA256 87b0ba7ed7e706f55f571ec73daad0a2ab9820de9db8e0c889ba8541b5b8f40e *201701.tar.cpt File size is correct, file mtime is correct, contents can be read correctly, but file names are mangled (I missed that before?). So, do I file a bug report? /usr/src/sys/fs/cd9660? David