---------------------------------------------------------------------- Date: Wed, 16 Sep 1998 08:13:20 -0400 (EDT) From: Alex Buell <alex.buell@tahallah.demon.co.uk> To: Linux Kernel <linux-kernel@vger.rutgers.edu> Subject: IMPORTANT: SysVinit & umounting Message-ID: <Pine.LNX.4.02.9809160332310.141-100000@tahallah.demon.co.uk> Content-Type: TEXT/PLAIN; charset=US-ASCII 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/ ------------------------------ End of forward378q1q Digest *************************** -- -- Microsoft: Do less with more. UNIX on Intel: Do more with less. -- Turbo __ _ Debian GNU Unix _IS_ user friendly - it's just ^^^^^ / /(_)_ __ _ ___ __ selective about who its friends are / / | | '_ \| | | \ \/ / papadoc.nocrew.org _ /// / /__| | | | | |_| |> < Turbo Fredriksson turbo@tripnet.se \\\/ \____/_|_| |_|\__,_/_/\_\ Surrey/B.C./Canada (604)572-3523 Debian Certified Linux Developer PGP#788CD1A9 www5.tripnet.se/~turbo ------- PGP: B7 92 93 0E 06 94 D6 22 98 1F 0B 5B FE 33 A1 0B -------- -- Ft. Meade strategic cryptographic KGB terrorist ammunition kibo Cocaine BATF DES assassination Panama Nazi quiche SEAL Team 6
Attachment:
pgp22IuMr6omh.pgp
Description: PGP signature