From owner-freebsd-questions@FreeBSD.ORG Fri Dec 4 23:17:22 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 962FB1065672 for ; Fri, 4 Dec 2009 23:17:22 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 698FF8FC0C for ; Fri, 4 Dec 2009 23:17:22 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id nB4NHLBv091986; Fri, 4 Dec 2009 15:17:22 -0800 (PST) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id nB4NHLc2019186; Fri, 4 Dec 2009 15:17:21 -0800 (PST) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id nB4NHLuO019185; Fri, 4 Dec 2009 15:17:21 -0800 (PST) (envelope-from freebsd@optimis.net) Date: Fri, 4 Dec 2009 15:17:21 -0800 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20091204231721.GB18745@marvin.optimis.net> References: <560f92640912031527mfe85d70j40e4bc75aa33d85@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <560f92640912031527mfe85d70j40e4bc75aa33d85@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: Mount dump0 as ISO9660 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, 04 Dec 2009 23:17:22 -0000 On Thu, Dec 03, 2009 at 03:27:48PM -0800, Nerius Landys wrote: > I heard somewhere that you can mount a dump as an ISO9660 filesystem, > but I cannot find any Google answers on this subject. I took my dump > in the following fashion: > > dump -0Lan -C 16 -f - /usr | gzip -2 | > > So, I have a file named dump0-var.gz. Your dump is just a regular file sitting on a hard drive with a file system that's already mounted. If you created an on-disk ISO image of that file, you'd have to mount the file system of that ISO image to read the file. If you burned the ISO image to a CD, you'd mount the CD's file system to read it. Either way, the file remains just a file, and is read using restore(8). I'll offer a guess that you're confusing things with tar(1) (which is often used for backups) and the recent changes. From the manpage: This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, and shar archives. The above means you can now do nifty things like 'tar xvf mybackup.iso', and if you've configured a pre-processor for less(1), even niftier things like: less backup.tar.gz less backup.zip less backup.iso It's also possible you might be thinking of file system snapshots (which can be mounted). Check the Handbook for details. -- George