From owner-freebsd-questions@freebsd.org Fri Feb 10 01:51:36 2017 Return-Path: Delivered-To: freebsd-questions@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 7D4AACD8401 for ; Fri, 10 Feb 2017 01:51:36 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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 6BE9E312 for ; Fri, 10 Feb 2017 01:51:36 +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 ; Thu, 9 Feb 2017 17:51:31 -0800 From: David Christensen Subject: Re: FreeBSD 11 and 4+ GB files on optical disc To: freebsd-questions@freebsd.org References: <2f1806ae-cfd2-704c-298c-5ad93d59e628@holgerdanske.com> <20170210005528.17bd100f.freebsd@edvax.de> Message-ID: Date: Thu, 9 Feb 2017 17:51:34 -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: <20170210005528.17bd100f.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 01:51:36 -0000 On 02/09/17 15:55, Polytropon wrote: Thanks for the reply. > On Thu, 9 Feb 2017 15:04:13 -0800, David Christensen wrote: >> I periodically create archive files on Debian 7, encrypt the archive, >> create checksum files, burn the archive and checksum files to optical >> disc, and then verify the contents of the disc. > > So I can assume you're using ISO-9660 as the file system for > the optical disc - a very important aspect you never mentioned. :-) dpchrist@freebsd:/usr/home/dpchrist $ mount | grep /dev/cd0 /dev/cd0 on /media/HOLGERDANSKE_COM (cd9660, local, nosuid, read-only) >> I suspect that FreeBSD is having problems because the archive file is >> larger than 4 GB (?). > > Well, if you accurately consider the file size conversion ... > Check what the file system specification says ... > So what you're seeing (file appearing twice) exactly matches > the assumption that mkisofs is creating a "split entry" for a > source file that the ISO-9660 file system cannot contain due > to a size limitation. I created the disc on Linux, and have been creating discs just like it for several years. I guess Linux hides the "split entries"; it "just works". When I browse the disc using Vista 32-bit, Windows Explorer shows the files on the disc correctly. > Don't use ISO-9660. Use tar as a file system (or better, instead > of a file system). You can write it to the DVD like this: > > % growisofs -dvd-compat -Z /dev/dvd=2017.01.tar > > And read (restore) it like this: > > % tar xvf /dev/dvd > > The advantage: No size limitation imposed by ISO-9660.Additional security: "There are no files on the DVD!" ;-) That is not security; that is incompatibility. This is an archive disc. I have created many such discs over the years. I need to be able to browse and read them on as many platforms as possible. How do I browse and read 4+ GB files on optical discs (DVD, BD) correctly on FreeBSD? David