From owner-freebsd-fs@FreeBSD.ORG Sun Aug 17 01:27:47 2014 Return-Path: Delivered-To: freebsd-fs@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 0142CC8F for ; Sun, 17 Aug 2014 01:27:46 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (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 79B7F23E5 for ; Sun, 17 Aug 2014 01:27:46 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id u10so3009940lbd.21 for ; Sat, 16 Aug 2014 18:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AaLBaIBO4y5HvnlDLROcei108sCrTm9lUdfWuUHKZOI=; b=vI2grBrTP9izSeiHypVoHxVKyhv4ku29vGncQ2k0KmyGMhtaoiIu7L/GNdeSa7BRFN SJml0p2FfjNdVg0RHBjVZI8Cc7ECR0CPhyPX2H/Rr/Kpg6F4C/ddwNfe3/V1+1Yxix4U dnRtXUV5k6gmLTUjO3S8dzv+eUVadVbV8K1VNGvIy59EktYBJENz3eHJjZPhbRpOAm/x b3JesrUgzUKgCgM0zg89+qNyw5tYyc38OaIblk+2bMuCU1NIdsblazuWXXvKYV8YHUPP gRfYn5E6fnAbSfgrzzuZMNKl8bmeJ6tl/kUA5X1svKSnZv/9tMPoHdo1xTUks/cAYJbu iDkw== X-Received: by 10.112.35.97 with SMTP id g1mr19878464lbj.20.1408238864307; Sat, 16 Aug 2014 18:27:44 -0700 (PDT) Received: from [192.168.6.21] (ppp-62-216-218-181.dynamic.mnet-online.de. [62.216.218.181]) by mx.google.com with ESMTPSA id um4sm10154681lbb.40.2014.08.16.18.27.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Aug 2014 18:27:43 -0700 (PDT) Message-ID: <53F0050D.6060700@gmail.com> Date: Sun, 17 Aug 2014 03:27:41 +0200 From: Thomas Schweikle User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Thunderbird/34.0a1 MIME-Version: 1.0 To: Benjamin Kaduk Subject: Re: zfs only mounting "root" after reboot References: <53EF3036.8050203@gmail.com> <53EFF87F.7080507@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 01:27:47 -0000 On 17.08.2014 02:37, Benjamin Kaduk wrote: > On Sat, 16 Aug 2014, Thomas Schweikle wrote: > >> I think this shall be mentioned in the FreeBSD handbook, but >> couldn't find any hint to it. Is it a bug with zfs mounting? Is it >> intended to have zfs mounts happen before working on fstab mounts? >> If not, it could be useful to make more clear what happens and that >> you *must* mark filesystems depending on /tmp, /usr or /var to mount >> "late"! > > Traditionally, filesystem implementations have not had dependencies on the > presence of other filesystems in the mount hierarchy. It is completely > unsurprising that the documentation does not cover such behavior. > > Do you have notes handy for why fdesc and linproc have such dependencies > and what they are? linprocfs -- linux compatible /proc filesystem. It is necessary for some tools from the linux world you'd like to have running under FreeBSD. It is merely the same as what FreeBSD has at /proc and is mounted at /usr/compat/linux/proc (which is linked to /compat/linux/proc traditionaly). Both deliver the same information, but with different hierarchy. fdescfs -- file descriptor filesystem. This provides access to the per process file descriptors in the global file system namespace. It is normally mounted at /dev/fd. There are some other pseudo filesystems you may or may not need to mount them -- it depends on what programs you run ...! Some of them mount to /usr/compat, some to /dev (some of them then link to /usr/compat/ -- these need /usr to be mounted). -- Thomas