From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 19:48:29 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42B94E6E for ; Wed, 6 Aug 2014 19:48:29 +0000 (UTC) Received: from mail-yk0-x22e.google.com (mail-yk0-x22e.google.com [IPv6:2607:f8b0:4002:c07::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07D992CA1 for ; Wed, 6 Aug 2014 19:48:28 +0000 (UTC) Received: by mail-yk0-f174.google.com with SMTP id q9so2023670ykb.33 for ; Wed, 06 Aug 2014 12:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EtfvQPbXjxcWltfox3yyI5f7Nadh1v6ndMgzWZC1cXM=; b=kYZV1hpDq40Hil5cWkfKBrK7he+EtLqPpxpMhzX6lnMRZndEte85OTzUzCLRamedt/ tOzE4fKwSxnsSZ3aQKYBm9jAnBwRL5nlpWANkCzmQm/0Kzxld5S5kL4it09mni57KPrq VRkFGl4HFanc1jxq4eUrtrPpNh2eCd3bxsW80hvKNXmzWplKDbQM4xc33k3rgkD1cCEW zWpZaws3putTpOL7fACbTtyAJ3iNJM1k0KtmB1aUiaEppS9GkjJi5DER/SbDQ+RIbN1F iCXALH+QKqy4OclW/nxdHPimqFv1VY1gLNn2oiCkQybgr6nLQP70UYFF0BjS2PqBC+wE nfzQ== MIME-Version: 1.0 X-Received: by 10.236.227.230 with SMTP id d96mr20417277yhq.100.1407354508210; Wed, 06 Aug 2014 12:48:28 -0700 (PDT) Received: by 10.170.132.80 with HTTP; Wed, 6 Aug 2014 12:48:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Aug 2014 20:48:28 +0100 Message-ID: Subject: Re: mount a local filesystem after zfs but before network is up From: krad To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 19:48:29 -0000 accomplished with a wrapper around dhclient. However it would good to be able to specify a file system that is mounted after zfs but before the network initialization On 6 August 2014 20:36, krad wrote: > I have a small issue in that I want to mount a tmpfs file system under > /var/$PATH at boot via the fstab > > Normally this is no problem, however the system is zfs and tmpfs is > classed as a criticallocal filesystem in rc land and is therefore mounted > before the zfs file systems are mounted, before the real multiuser var is > mounted > > $ grep -i require: /etc/rc.d/zfs > # REQUIRE: mountcritlocal > > Is there anyway around this other than hacking up rc, or putting /var on > the root filesystem? > > extra_netfs_types is no use as i need it mounted before the network comes > up > > I feel a lot of rc trawling maybe required tomorrow 8( >