From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 07:38:13 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 03B1F106564A for ; Fri, 23 Jan 2009 07:38:13 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id AAB8D8FC08 for ; Fri, 23 Jan 2009 07:38:12 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id n0N7cZTR029415; Thu, 22 Jan 2009 23:38:35 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 22 Jan 2009 23:37:51 -0800 (PST) Date: Thu, 22 Jan 2009 23:37:51 -0800 From: Gary Kline To: Polytropon Message-ID: <20090123073750.GB96433@thought.org> References: <20090123011043.GA86638@thought.org> <20090123024811.9bdf4b3f.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090123024811.9bdf4b3f.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org 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 07:38:13 -0000 On Fri, Jan 23, 2009 at 02:48:11AM +0100, Polytropon wrote: > 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. So if I use my space in /usr/tmp, would I use the cmd given by cpghost: % mkisoft -R -J -o cdr.iso /usr/tmp/cdr/ ? If this wouldn't % create the RockRidge extension, what then? > > 2. > > You record this file onto a CD or DVD using the "data disc" settings. Tried that; get lost after the first few clicks... Got to be 'too-too simple' :) > > 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). ---just between you and me, Polyt, i've got to watch my fingers; i might type "floppy dick" and that would get lots of snickers... . > > > > > Anything "push-button"? > > K3B should be able to generate an ISO-9660 file system with the > standard RockRidge extension. Exact "where do I click" instructions, please. Alao, if I'm brave enough to use GUI, can I use ~/devel, ~/Music, and, say ~/texts? ---I have learned to mouse-around and select my favorite mp3 and ogg-vorbis tunes, but that's just 80 minutes of music. No mount, no umount. > > 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. :-) Something like that happened a couple months ago.... (*sigh*) > > 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. :-) > That makes my century!!! > > > 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). > OK, then what about the mount, umount commands? % mount /dev/cd0 /mnt // cd to /dev/dv0, read, listen, whatever. Then:: % umount /dev/cd0 ?? Would this work with our FBSD filesystem and-or RockRidge? gary > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php