Date: Sat, 12 Mar 2005 08:30:07 GMT From: Michael Nottebrock <michaelnottebrock@gmx.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/56675: Syncer "giving up" on buffers and ext2 filesystems [still a problem in 5.3RC1] Message-ID: <200503120830.j2C8U72u064828@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/56675; it has been noted by GNATS. From: Michael Nottebrock <michaelnottebrock@gmx.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503120830.j2C8U72u064828>