From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 20:36:49 2011 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 434D0106566B for ; Sat, 23 Apr 2011 20:36:49 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C6F098FC18 for ; Sat, 23 Apr 2011 20:36:48 +0000 (UTC) Received: by wyf23 with SMTP id 23so1292944wyf.13 for ; Sat, 23 Apr 2011 13:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tYysBvP3FmWCEiPlE9shD6NuDASAw3h1JXRkSGl5haM=; b=GeORyAZ73EHBO2L/BCRpuhU2uIrEH0E/7TNsh5YJdLW3Vwgru9pTHrN0nSQe9Yo+Lk 5Wz8JvmEjTcvZ2CKQlrSgh2ZfVwvrR36gLNFfOWaAGSuCQYkGvZNttI8AfQ/mM2nQmlL GLCi7eKACM1IoSNBR79/3z4Nz5xQzcr4Upihg= 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=BvkGOOCB5b2/rVtTjGgAYzeVf6pHbC+2cGyEJA72TxKUpqJZXwS4pfDDEBDqJYw34/ VCRFYO+Y3bTgjhBsDZESHvojQ4MDaHHuTYyhUXBZAkKAIXtE6ojFOBkLWw/ZDkY7if1j WbK1wmbcuimHPWNPX6FBHAd0C5UlASCRmU1Uo= MIME-Version: 1.0 Received: by 10.216.143.74 with SMTP id k52mr2281352wej.0.1303591007621; Sat, 23 Apr 2011 13:36:47 -0700 (PDT) Received: by 10.216.15.73 with HTTP; Sat, 23 Apr 2011 13:36:47 -0700 (PDT) In-Reply-To: References: <4DB30596.3030609@telting.org> Date: Sat, 23 Apr 2011 21:36:47 +0100 Message-ID: From: krad To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Telting , freebsd-questions@freebsd.org Subject: Re: zfs partition for /etc? 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, 23 Apr 2011 20:36:49 -0000 On 23 April 2011 19:44, Adam Vande More wrote: > On Sat, Apr 23, 2011 at 12:00 PM, Chris Telting > wrote: > > > So so on to my question. I'm sure others have thought about this. I > kind > > of want /etc to be it's own zfs partition so that I can snapshot it > separate > > from everything else and preserve it without much effort. But I don't > think > > I can do that because of booting. The system depends on /etc before it > > mounts it's first file system. > > > As you are aware ZFS works differently, and I think you are incorrect in > your assumption that separating /etc onto it's own ZFS file system will > break the boot process. The vfs.root.mountfrom="zfs:zoot" sysctl controls > which pool to boot from, and once the pool is imported all automounted FS's > are immediately available I'd guess. If so, your desired scenario is > achievable without hackery. However this is an assumption on my part. > > Testing this out is like a 1/2 hr exercise if you have Virtualbox > installed. Use the PCBSD cd or MFSBSD to quickly install a bootable ZFS > VM. > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > not sure about that as the auto mounts are done when /etc/rc.d/zfs runs so there might be a dependency