From owner-freebsd-doc@FreeBSD.ORG Thu Dec 8 20:29:03 2011 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D74841065673; Thu, 8 Dec 2011 20:29:03 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 96EC58FC14; Thu, 8 Dec 2011 20:29:03 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 3189246B0D; Thu, 8 Dec 2011 15:29:03 -0500 (EST) Received: from John-Baldwins-MacBook-Air.local (c-68-36-150-83.hsd1.nj.comcast.net [68.36.150.83]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9A50AB941; Thu, 8 Dec 2011 15:29:02 -0500 (EST) Message-ID: <4EE11E0E.1060207@FreeBSD.org> Date: Thu, 08 Dec 2011 15:29:02 -0500 From: John Baldwin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Sergey Kandaurov References: <201112071830.pB7IUEHQ082055@freefall.freebsd.org> <4EE0F6B2.8090005@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 08 Dec 2011 15:29:02 -0500 (EST) Cc: freebsd-doc@freebsd.org, Nathan Whitehorn Subject: Re: docs/163102: linprocfs mounted in wrong location in Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 20:29:04 -0000 On 12/8/11 1:57 PM, Sergey Kandaurov wrote: > On 8 December 2011 21:41, John Baldwin wrote: >> On 12/7/11 1:30 PM, Manolis Kiagias wrote: >>> >>> The following reply was made to PR docs/163102; it has been noted by >>> GNATS. >>> >>> From: Manolis Kiagias >>> To: freebsd-doc@freebsd.org, bug-followup@FreeBSD.org >>> Cc: VoidChicken@gmail.com >>> Subject: Re: docs/163102: linprocfs mounted in wrong location in Handbook >>> Date: Wed, 07 Dec 2011 20:26:21 +0200 >>> >>> On 7/12/2011 7:20 ěě, Patrick Lamaiziere wrote: >>> > The following reply was made to PR docs/163102; it has been noted by >>> GNATS. >>> > >>> > From: Patrick Lamaiziere >>> > To: bug-followup@freebsd.org >>> > Cc: Kevin Baxter >>> > Subject: Re: docs/163102: linprocfs mounted in wrong location in >>> Handbook >>> > Date: Wed, 7 Dec 2011 18:02:34 +0100 >>> > >>> > Le Wed, 7 Dec 2011 15:30:15 GMT, >>> > Kevin Baxter a écrit : >>> > >>> > > $ ls /usr/compat >>> > > ls: /usr/compat: No such file or directory >>> > > $ ls -ld /compat >>> > > drwxr-xr-x 3 root wheel 3 Jan 17 2010 compat >>> > > >>> > > It isn't a symlink on my system. At what point in installation >>> is it >>> > > supposed to have been created? I don't see a mention of that >>> > > anywhere in the Handbook. Chapter 11.2 even refers to >>> /compat/linux >>> > > instead of /usr/compat/linux. >>> > >>> > On 9.0 bsdinstall does not create the /compat symlink. Or >>> > even /compat, it is created when you install the linux base. >>> > You have to move /compat to /usr/compat and create the link by hand. >>> >>> I've checked on 9.0-RC2 and the link is there, but my installs were >>> upgraded from 8.2-RELEASE, so you may have a point there. I'll check on >>> a clean 9.0-RC3 install shortly and report findings. >> >> >> sysinstall did this in its magic installFixupBase() routine as bogon #4. >> I've no idea if bsdinstall replicates all the same post-install fixups. >> Hmm, my fresh 9.0 system has no /compat or /usr/compat, so >> this seems to be missing. I think the package should keep installing >> to /compat, but I don't really think the package should set the policy of >> symlinking /compat to /usr/compat. That should be in the install if /compat >> doesn't already exist. > > Also from man hier: > > /compat/ normally a link to /usr/compat. If not, then the /usr/compat > comments apply (created by sysinstall(8)) > ... > /usr/compat/ files needed to support binary compatibility with > other operating systems, such as Linux (created by > sysinstall(8)) I would be fine with removing the /usr/compat entry from this manpage and moving its description to the /compat entry. I would drop mention of sysinstall(8), and maybe add a note to say that /compat is typically a symlink to /usr/compat (though that will not be true on a 9.0 machine). I guess it was left out of bsdinstall due to the one big / layout, but for users who use a custom layout (e.g. myself, I don't like one big /), it might be nice if bsdinstall did this rather than forcing users to have to remember this detail. Does bsdinstall always make /home a symlink to /usr/home to support custom layouts? If so, it should apply the same logic to /compat. It might be nice if it could "notice" that /usr is separate and auto-create /compat and /home links in that case if it is currently doing nothing for /home. -- John Baldwin