[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 )
From: |
erich |
Subject: |
Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ) |
Date: |
Sat, 27 Oct 2001 15:10:52 -0700 |
OK, here's a simpler/better version of the patch I had before, putting
in a delay after the sync, and only in the place it was getting a
block-map from the disk.
This isn't a true fix, but it's something that should work for
pretty much everything as a decent work-around for now.
------------------------(start patch)-----------------------
--- grub.orig/util/grub-install.in Mon Oct 22 16:46:07 2001
+++ grub/util/grub-install.in Sat Oct 27 13:06:33 2001
@@ -318,6 +322,10 @@
# Create a safe temporary file.
test -x /bin/tempfile && log_file=`tempfile --prefix=grub`
+# Before invoking the grub shell to get a blocklist, call sync then sleep
+# to make sure metadata journaled FS's have some time to sync up.
+sync ; sleep 2
+
# Now perform the installation.
$grub_shell --batch --device-map=$device_map <<EOF >$log_file
root $root_drive
------------------------(end patch)-----------------------
--
Erich Stefan Boleyn <address@hidden> http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"
- Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), (continued)
- Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), erich, 2001/10/27
- Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), erich, 2001/10/27
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Thierry Laronde, 2001/10/28
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Yoshinori K. Okuji, 2001/10/28
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Thierry Laronde, 2001/10/29
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Yoshinori K. Okuji, 2001/10/30
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), erich, 2001/10/31
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Thierry Laronde, 2001/10/31
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), erich, 2001/10/31
- Re: Worse yet Re: Whoops! Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ), Yoshinori K. Okuji, 2001/10/31
Re: [PATCH] Another semi-critical one... (was Re: towards 0.91 ),
erich <=