From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 19:36:50 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 3DB14930 for ; Wed, 6 Aug 2014 19:36:50 +0000 (UTC) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (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 056602A4A for ; Wed, 6 Aug 2014 19:36:49 +0000 (UTC) Received: by mail-yk0-f177.google.com with SMTP id 79so2019850ykr.8 for ; Wed, 06 Aug 2014 12:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xClct6+X4l+8UttUcn944VoZUpXkxAYBlXoJ6lza/Bg=; b=AcfV/0TEfV9xlBHys+pDzpri7MaGlYZ7B/KHBHK9MaqQ+hjUjLJqQyuPifPkJ6fFiC EeebOLIJE+9dddXMts0lXoN4bWXLdswef6AjwHkJNDSxXK/EQOgzONMqCvq+ulgIGWso dq5Sz7VBDxYNVO3i5rJtjd84jzjBfHapSXGC3kphlK9aACg0bnY5zLKl4vFGSnNefCnw bEvUYrYi2Ei+VvnB709c5PHfi93Z+KnwxQTC+hBY4BKULnAenqNSgBmbtX96LYaIPJ6g YUQdtNW8LK+oPdHPGdeH3UqbxgSMnI+708XMwfqclugWmXYys0CN/V1e1Kp5og0n1Dq8 Geww== MIME-Version: 1.0 X-Received: by 10.236.85.10 with SMTP id t10mr19249617yhe.86.1407353809138; Wed, 06 Aug 2014 12:36:49 -0700 (PDT) Received: by 10.170.132.80 with HTTP; Wed, 6 Aug 2014 12:36:49 -0700 (PDT) Date: Wed, 6 Aug 2014 20:36:49 +0100 Message-ID: Subject: 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:36:50 -0000 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(