From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 16:09:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0EF91065686 for ; Fri, 23 Jan 2009 16:09:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DBDBD8FC25 for ; Fri, 23 Jan 2009 16:09:56 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n0NG9ppm038179; Fri, 23 Jan 2009 17:09:51 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n0NG9p5h038176; Fri, 23 Jan 2009 17:09:51 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 23 Jan 2009 17:09:51 +0100 (CET) From: Wojciech Puchar To: Gary Kline In-Reply-To: <20090123011043.GA86638@thought.org> Message-ID: <20090123170407.A38136@wojtek.tensor.gdynia.pl> References: <20090123011043.GA86638@thought.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: how to create a DVD backup filesystem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 16:09:58 -0000 > Guys, I've got several directories off ~kline/ that I want to > store permanently. Like all my development code in ~/devel, and > all my music mp3's and ogg's in ~/Music, and all my online and > mp3 books from libribox.org in ~/readings. There are PDF files > and HTML and a slew of other stuff. man mkisofs man growisofs that's all. mkisofs creates ISO image growisofs records DVD you can make growisofs run mkisofs in-flight so no image file has to be made. > > either a few CD's or one DVD? Right now, I'm cross-backing up it's best NOT to use "GUI" interfaces for this. as always - doing it from command line is much easier when you learn. and - you ARE NOT forced to use ISO-9660 filesystem. in unix recorded DVD is just readonly disk, you can use any filesystem it supports. if you do this often and your DVD's don't need to be windoze-readable (which could be adventage sometimes) then: - create partitions of exactly 9180416 sectors (which is 2295104 2K sectors - exactly DVD size) - use newfs to create partition. for best results use options newfs -m 0 -b 32768 -f 4096 -i 524288 note that -i specify how much bytes is available per inode. more given=less inodes created and less space wasted, but you may run out of inodes storing small files. this example allows you to store about 8900 files. - mount it and record what you like as usual - unmount and use growisofs to record a disc. use that disc with mount -r /dev/cd0 /mountpoint