From owner-freebsd-stable@FreeBSD.ORG Mon Oct 27 14:07:46 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68E52170; Mon, 27 Oct 2014 14:07:46 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB48FBB5; Mon, 27 Oct 2014 14:07:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s9RE7QfZ040575; Tue, 28 Oct 2014 01:07:27 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 28 Oct 2014 01:07:26 +1100 (EST) From: Ian Smith To: Dominic Fandrey Subject: Re: File system issues In-Reply-To: <544D6628.60904@bsdforen.de> Message-ID: <20141027214537.X74058@sola.nimnet.asn.au> References: <544BC863.2040607@bsdforen.de> <20141025183600.GG66862@home.opsec.eu> <50056B15-83F4-4524-995E-6486959C027C@orthanc.ca> <20141026170011.M74058@sola.nimnet.asn.au> <544CB063.3020002@bsdforen.de> <20141027042350.M74058@sola.nimnet.asn.au> <544D6628.60904@bsdforen.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Adrian Chadd , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 14:07:46 -0000 On Sun, 26 Oct 2014 22:22:48 +0100, Dominic Fandrey wrote: > On 26/10/2014 18:37, Ian Smith wrote: > > On Sun, 26 Oct 2014 09:27:15 +0100, Dominic Fandrey wrote: > > > On 26/10/2014 07:36, Ian Smith wrote: > > > > > > But then, the general expectation that new users will want a linux-style > > > > single / directory - sure, fine for VM use - cruels the potential to use > > > > dump and restore anyway. It's a bit sad that this is still outstanding. > > > > > > You can use dump from anywhere in the file system by way of nullfs > > > mounts. > > > > Thanks Dominic, I wasn't aware of that. Not that it makes up for not > > being able to not newfs filesystems you want to keep, and in fstab, but > > it's definitely worth exploring as a workaround. > > I have to withdraw my statement. I thought I had done it before, but I > cannot get it to work. I suppose that leaves us with tar. I spent some time exploring trying to dump a nullfs-mounted (copy of) /etc last night, to no avail. I finally managed to make a snapshot of that with mksnap_ffs, mounted it as an md, but it turned out to be just a snapshot of / and not dumpable anyway. tar is generally useful, especially with trees like /home where there tend not to be any hard-linked files, here anyway. But I'd miss dump. I learned some new things, but C wasn't one of them (sorry, Adrian :) cheers, Ian