From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 12 08:30:08 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AB2416A4CE for ; Sat, 12 Mar 2005 08:30:08 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBAD943D5E for ; Sat, 12 Mar 2005 08:30:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2C8U7Sc064829 for ; Sat, 12 Mar 2005 08:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2C8U72u064828; Sat, 12 Mar 2005 08:30:07 GMT (envelope-from gnats) Date: Sat, 12 Mar 2005 08:30:07 GMT Message-Id: <200503120830.j2C8U72u064828@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Michael Nottebrock Subject: Re: kern/56675: Syncer "giving up" on buffers and ext2 filesystems [still a problem in 5.3RC1] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Nottebrock List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 08:30:08 -0000 The following reply was made to PR kern/56675; it has been noted by GNATS. From: Michael Nottebrock To: freebsd-gnats-submit@freebsd.org, lefcha@hellug.gr Cc: Subject: Re: kern/56675: Syncer "giving up" on buffers and ext2 filesystems [still a problem in 5.3RC1] Date: Sat, 12 Mar 2005 09:22:23 +0100 --Boundary-00=_/aqMCqheRCQhYn7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Here's a better workaround which I've been using for a long time now (it does not use umount -t and thus does not need mounted ext2 filesystems to be listed in /etc/fstab in order to work). -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-00=_/aqMCqheRCQhYn7 Content-Type: text/plain; charset="us-ascii"; name="rc.shutdown.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rc.shutdown.diff" --- rc.shutdown Sun Jun 6 13:46:27 2004 +++ rc.shutdown Thu Jun 17 18:54:00 2004 @@ -97,6 +97,13 @@ # Insert other shutdown procedures here +extfs=`eval mount | grep ext2fs | awk '{print $1 }'` + +for _elem in $extfs; do + echo -n "Unmounting ext2/ext3 filesystems: " + umount -f $_elem + echo -n "$_elem " +done echo '.' exit 0 --Boundary-00=_/aqMCqheRCQhYn7--