From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 12:05:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80B7016A4CE for ; Tue, 27 Jan 2004 12:05:15 -0800 (PST) Received: from thunker.thunk.org (thunk.org [140.239.227.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE49343D75 for ; Tue, 27 Jan 2004 12:04:36 -0800 (PST) (envelope-from tytso@thunk.org) Received: from dsl092-109-027.nyc2.dsl.speakeasy.net ([66.92.109.27] helo=thunk.org) authenticated as tytso by thunker.thunk.org with asmtp (tls_cipher TLSv1:RC4-SHA:128) (Exim 3.35 #1 (Debian)) id 1AlZQw-0004GX-00; Tue, 27 Jan 2004 15:03:38 -0500 Received: from tytso by thunk.org with local (Exim 4.30) id 1AlZQt-00065F-KQ; Tue, 27 Jan 2004 15:03:35 -0500 Date: Tue, 27 Jan 2004 15:03:35 -0500 From: Theodore Ts'o To: Matthias Andree Message-ID: <20040127200335.GA23372@thunk.org> References: <20040122215703.E8399@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: Theodore Ts'o X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-Mailman-Approved-At: Wed, 28 Jan 2004 06:12:04 -0800 cc: freebsd-current@freebsd.org Subject: Re: How to fsck -CURRENT on next reboot [ext2fs] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 20:05:15 -0000 On Thu, Jan 22, 2004 at 04:12:33PM +0100, Matthias Andree wrote: > Yep. BTW, I've updated the port to omit e2fsprogs' "fsck" command, to > avoid confusion. Unfortunately, I haven't yet seen feedback from > Tytso. He's downloaded my changes according to BK logs, but no new > release or merge yet. :-( I'm hesitant to release a "somewhat rogue" > snapshot from the development sources as official port. Sorry, I forgot to send you a note; yes, I've accepted your changes and they're in my bitkeeper repository. > I am wondering how to deal with /etc/fstab. I can of course add a > symlink from /sbin/fsck_ext2fs to %D/sbin/e2fsck, so I can type "fsck > /linux" and have the file system checked, but this will not work when > someone sets the Pass# column in fsck to something non-zero. But that's what's supposed to happen when someone sets the Pass# to zero, yes? Or is the problem that in the past, /sbin/fsck_ext2fs wasn't available, so some people may have put zero into the column in order to prevent errors at boot time? Can BSD packages in the ports system allowed prompt the user upon installation/upgrade? If so the obvious thing to do is to ask the user, when they install the new version of e2fsprogs, whether they want the pass # in /etc/fstab to be reset to some sane value, and then have the postinstall script do that. - Ted