From owner-freebsd-questions@freebsd.org Sat Sep 5 01:19:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30C719CBA00 for ; Sat, 5 Sep 2015 01:19:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (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 ED3CBC46 for ; Sat, 5 Sep 2015 01:19:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-125-111.dynamic.qsc.de [92.195.125.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id CA5953CDC8; Sat, 5 Sep 2015 03:19:25 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t851JP1Q006345; Sat, 5 Sep 2015 03:19:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 Sep 2015 03:19:25 +0200 From: Polytropon To: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Partitioning for a new system -- Third level mount point? Message-Id: <20150905031925.fd21458a.freebsd@edvax.de> In-Reply-To: <82702.1441413276@server1.tristatelogic.com> References: <82702.1441413276@server1.tristatelogic.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 01:19:35 -0000 On Fri, 04 Sep 2015 17:34:36 -0700, Ronald F. Guilmette wrote: > I'm setiing up a new system to run FreeBSD 10.2, and in the process > of doing a ``manual'' initial partitioning of the main drive for > this new system, I attempted to create a partition for which I > specified a mount point of: > > /var/ftp/private > > (I want this to be a partition, all of its own, so that the actual > maximum disk space for it will be hard-limited.) And you can also specify the "noexec" mount option to increase security. :-) > Anyway, I was shocked to see... after doing the create step... that > this new partition is listed in the partitions list as having a mount > point of just: > > /var/ftp > > which is definitely not what I wanted. Maybe this happened because the desired mountpoint /var/ftp/private didn't exist yet, so /var/ftp was being used? However, if you create /var/ftp/private and then edit the entry in /etc/fstab for that partition, things should work as inteded. > Did I do something wrong, or is the install-time ``manual'' partitioning > tool actually limiting the number of pathname components for the mount > points to just two? That would sound stupid, wouldn't it? It's rather imaginable that the case of "existing mount point fallback" is to be assumed, as explained above. > If so, isn't that a bit... um... arbitrary? At least an error message should have been issued. A "silent fallback" which "guesses" what the user might have wanted usually is not a good idea (even though it's often seen "fashionable" to do so today). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...