Messages in this thread Patch in this message | | | Date | Wed, 16 Sep 1998 08:13:20 -0400 (EDT) | From | Alex Buell <> | Subject | IMPORTANT: SysVinit & umounting |
| |
Hi guys,
Just a word in your ear-holes: Do you recall someone mentioning a while ago that when he shutdown his Linux system, umount could not umount the root file system properly (i.e VFS: Could not umount, filesystem busy or something to that effect?) Well, I think I know why and have a solution.
Well, I just upgraded my SysVinit to 2.74 (from 2.62) and mount to 2.8b (I have a patch for this for glibc-2.0.95 - see later in this e-mail).
Upon starting the shutdown -r now phase, I had a similar problem to the above. On closer investigation discovered that SysVinit's init was not a static binary, but was a dynamic binary. Recompiling this as a static (add -static to the STATIC macro in the Makefile) fixed this problem, now get perfect umounts every time I initiate the shutdown phase.
On a another subject, umount-2.8b-alpha's swapon will not compile on glibc-2.0.95. I have therefore included a simple patch for this:
--- swapon.c.orig Wed Sep 16 07:02:20 1998 +++ swapon.c Wed Sep 16 07:00:06 1998 @@ -10,6 +10,7 @@ #include <string.h> #include <mntent.h> #include <errno.h> +#include <sys/user.h> #include "swap.h" #include "swapargs.h" And that should be it. There was a shitload of warnings for mount and umount, but no real harm so ignored so someone better can fix it. They do work anyway. 8) I ermm.. accidentally deleted clock from /sbin. Can anyone point me to a suitable .tar.gz to get the sources for this? I need it so my clock doesn't do a timewarp 4 hours earlier and fscks up news :o)
Cheers, Alex -- /\_/\ Legalise cannabis now! ( o.o ) Grow some cannabis today! > ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!
Linux tahallah 2.1.121 #40 Thu Sep 10 07:26:39 EDT 1998 i486 unknown
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |