From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 09:07:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EDEE16A4DA for ; Thu, 31 Aug 2006 09:07:00 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2250D43D55 for ; Thu, 31 Aug 2006 09:06:59 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GIiVk-000IdG-R2; Thu, 31 Aug 2006 13:06:56 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GIiYZ-0000DA-Dg; Thu, 31 Aug 2006 13:09:51 +0400 To: RW References: <200608302124.21833.list-freebsd-2004@morbius.sent.com> <20060830165204.AC8F.GERARD@seibercom.net> <200608310022.05206.list-freebsd-2004@morbius.sent.com> From: Boris Samorodov Date: Thu, 31 Aug 2006 13:09:51 +0400 In-Reply-To: <200608310022.05206.list-freebsd-2004@morbius.sent.com> (RW's message of "Thu, 31 Aug 2006 00:22:03 +0100") Message-ID: <02019648@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Mounting Linux Procfs at Boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 09:07:00 -0000 On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote: > On Wednesday 30 August 2006 21:55, Gerard Seibert wrote: > > RW wrote: > > > What's the canonical way of mounting the Linux procfs at boot-time? > > > > > > I've seen several recommendations to add the following to fstab: > > > > > > linproc /compat/linux/proc linprocfs rw 0 0 > > > > > > But in a standard installation, this mount-point is really under /usr, > > > which isn't mounted until pass 2. If I change the pass number to 2, it > > > fails with an "unexpected inconsistencies" error. I presume this is > > > because mount is trying to fsck it, and failing to find fsck_linprocfs. > > > > This is what I have in my /etc/fstab file: > > > > linprocfs /compat/linux/proc linprocfs rw 0 0 > > > > Is this what you are referring to? > I tried it and it didn't work. Irrespective of whether it should begin linproc > or linprocfs, /compat is a link to /usr/compat, and /usr isn't mounted at > that point. Do you have a different arrangement? Can't confirm that the problem exists: $ uname -a FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17 23:26:59 MSD 2006 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386 But what do you mean "/usr isn't mounted at that point?". Have you read man fstab? > BTW I'm running 6.1 (upgraded from an original 5.3 install) Usually an output of "uname -a" is much more informative here. 6.1 may mean release, release + security patches, stable... And a platform also is of interest here. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve