kern/56675: Syncer "giving up" on buffers and ext2 filesystems
[still a problem in 5.3RC1]
Michael Nottebrock
michaelnottebrock at gmx.net
Sat Mar 12 00:30:08 PST 2005
The following reply was made to PR kern/56675; it has been noted by GNATS.
From: Michael Nottebrock <michaelnottebrock at gmx.net>
To: freebsd-gnats-submit at freebsd.org, lefcha at 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 at 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--
More information about the freebsd-bugs
mailing list