From owner-freebsd-arch Mon Oct 23 23:18: 7 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id E3A9637B479 for ; Mon, 23 Oct 2000 23:18:05 -0700 (PDT) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id XAA16295; Mon, 23 Oct 2000 23:14:30 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpdAAA.maqOF; Mon Oct 23 23:14:17 2000 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id XAA08358; Mon, 23 Oct 2000 23:17:45 -0700 (MST) From: Terry Lambert Message-Id: <200010240617.XAA08358@usr01.primenet.com> Subject: Re: Ideas concerning fsck To: des@ofug.org (Dag-Erling Smorgrav) Date: Tue, 24 Oct 2000 06:17:45 +0000 (GMT) Cc: mbendiks@eunet.no (Marius Bendiksen), arch@FreeBSD.ORG In-Reply-To: from "Dag-Erling Smorgrav" at Oct 23, 2000 02:19:31 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Doing anything at all before you know you can trust your root > > > partition (where fsck itself is stored) is not a very good idea. > > And using /etc/fstab, stored on the same partition, is a better idea? > > No. However, we can't get around the need for fstab, but we can get > around the need for some kind of fscktab which contains static > information which practically noone will ever need to change. Frankly, the file system type can be determined from the magic number, and the mount point determined from the "last mounted on" field, for most FS types. Which basically means that there's no need for a /etc/fstab at all, for anything other than CDROMs, or DOS FSs. Passes and "noauto" could be handled via tunefs and a one byte flags field on the FS itself. Just so you know where going down this path in its entirety is likely to lead you... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message