From owner-freebsd-questions@FreeBSD.ORG Sat Dec 5 00:50:45 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 1789A1065670 for ; Sat, 5 Dec 2009 00:50:45 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id C73D38FC0A for ; Sat, 5 Dec 2009 00:50:44 +0000 (UTC) Received: by qyk6 with SMTP id 6so1302698qyk.3 for ; Fri, 04 Dec 2009 16:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=fN2v6YaXHlYtdYZ8fvwpkviZkAC+Ho8PA+p+emlm2l8=; b=jfJGoDBmMJOdx39fiK+ZfxhvmcaiUFS2uEkrqijQvzDmOLbX4B/71qRL6qVjRoycys /p8av+tbHt2AhrVyTxyqb3BmEqw+6oGTWAR8qUdlVA/kqw7EJzemY+4MrZM4E94a44q5 0Pf4T9jbZBc1zX9+3Hvv97aFJm8adFhQCi5IQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kyx8URjuEz4uR4YKRpTnSCBGBBBLVGBnfwvuIJfIc6DnWebmDYmCiL/HQLb4Y4tF2Y OglbPSvLgwor4U9YlY4xDFE+bNe658+ewnGQM2u4rammF/Ok9dgipvwlzGlROQbyyaQO y6pzWHZ1m8jvwAVl1pf3av8SJZOVc0+LmS/5Q= MIME-Version: 1.0 Received: by 10.229.31.211 with SMTP id z19mr558580qcc.24.1259974243890; Fri, 04 Dec 2009 16:50:43 -0800 (PST) In-Reply-To: <20091204231721.GB18745@marvin.optimis.net> References: <560f92640912031527mfe85d70j40e4bc75aa33d85@mail.gmail.com> <20091204231721.GB18745@marvin.optimis.net> Date: Fri, 4 Dec 2009 16:50:43 -0800 Message-ID: <560f92640912041650p36c620edgd4ba8079b0e4e0da@mail.gmail.com> From: Nerius Landys To: George Davidovich Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org 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: Sat, 05 Dec 2009 00:50:45 -0000 > 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. > All I really want to do is take my dump file and see the "files" inside it, and do things with those files such as copy or md5sum (not edit). And I don't even know which tool do use to accomplish that. For example, if I took a dump 0 of /usr (which I did), I would like to see the "file" /usr/home/nlandys/.zshrc inside the dump, and then actually see (read) this file and/or copy it over scp or to another filesystem.