From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 01:48:18 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 EE9CC106564A for ; Fri, 23 Jan 2009 01:48:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7F11F8FC26 for ; Fri, 23 Jan 2009 01:48:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-68-197.dynamic.qsc.de [92.196.68.197]) by mx02.qsc.de (Postfix) with ESMTP id 3193C16C00EE; Fri, 23 Jan 2009 02:48:17 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n0N1mBxE002193; Fri, 23 Jan 2009 02:48:11 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 23 Jan 2009 02:48:11 +0100 From: Polytropon To: Gary Kline Message-Id: <20090123024811.9bdf4b3f.freebsd@edvax.de> In-Reply-To: <20090123011043.GA86638@thought.org> References: <20090123011043.GA86638@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 01:48:19 -0000 On Thu, 22 Jan 2009 17:10:46 -0800, Gary Kline wrote: > 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. > > Can I use K3B or some other GUI program to create a filesystem on > either a few CD's or one DVD? Right now, I'm cross-backing up > stuff to four live servers. It's just data, but I would like to > be able to inset it into my optical tray, cd to it and cd to > wherever and read or listen to AND (if some disaster strikes) be > able to copy my files from the disc to the computer. You would need a "two stage approach". 1. Create an ISO-9660 file system with a standard RockRidge extension. This would allow you to master a file system for the CD or DVD which is usually represented by a .iso file. 2. You record this file onto a CD or DVD using the "data disc" settings. Of course, K3B can do this with an implicite step 1 ("on the fly") with no .iso file hanging around. > I think I figured out how to create a tiny filesystem on a floppy > disc, but this was a Long time ago. Do you think you can tell me what a "floppy disc" would look like? :-) Don't confuse "disk" ("floppy disk") and "disc" (like CD or DVD). > Anything "push-button"? K3B should be able to generate an ISO-9660 file system with the standard RockRidge extension. But if you do consider 3 lines of shell code "push-button", maybe this is for you: % mkisofs -r -o /tmp/kline.iso ~/kline % cdrecord dev=1,0,0 speed=32 -v -eject -tao -data /tmp/kline.iso % rm /tmp/kline.iso Don't store the .iso file within the subtree you're recording, this may lead to infinity. :-) Of course, you don't need to use cdrecord. The burncd command or cdrdao will do fine, too. For a DVD, you need growisofs. % growisofs -dvd-compat -Z /dev/dvd=/tmp/kline.iso In my opinion, all this stuff is more "push-button" than trying to find all the settings in a GUI application. :-) As a sidenote, I just like to mention that you don't need to use an ISO-9660 filesystem. Because we're on FreeBSD here, you can use any (!) file system on a CD or DVD, such as UFS or tar (check advantages and disadvantages). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...