From owner-freebsd-hackers Thu May 11 18:22:00 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA22607 for hackers-outgoing; Thu, 11 May 1995 18:22:00 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA22597 for ; Thu, 11 May 1995 18:21:57 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id SAA13695; Thu, 11 May 1995 18:21:32 -0700 From: "Rodney W. Grimes" Message-Id: <199505120121.SAA13695@gndrsh.aac.dev.com> Subject: Re: Something silly in ufs/ufs/ufs_lookup.c To: phk@ref.tfs.com (Poul-Henning Kamp) Date: Thu, 11 May 1995 18:21:32 -0700 (PDT) Cc: davidg@Root.COM, terry@cs.weber.edu, hackers@FreeBSD.org In-Reply-To: <199505120002.RAA00989@ref.tfs.com> from "Poul-Henning Kamp" at May 11, 95 05:02:02 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1132 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > >In ufs_checkpath(), the int rootino is assigned the value ROOTINO, > > >which is never modified, only compared against. > > > > > >Shouldn't the references to rootino be deleted and replaced with the > > >manifest constant ROOTINO? > > > > Yes, it should. If it were defined at the top level, the answer would be > > different...but it's not. > > I thought this was the beginning of support for > > mount /dev/sd2e:/some/dir /mnt > > where you mount something different than the root of the filesystem... > > I can live without that of course (I always have had to :-) But having that functionality would be really sweat for chroot test trees, cdrom's with /filesys on them, etc... huummm.. is that what that code is really for?? If so I say we put it on the TODO list and hope so CS student decides he would like to use one of the cdrom /filesys's as the real root of a box. Can you say an OS that can't be comprimised via system binary changes :-) :-) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD