Re: Kernel 2.6.6: Removing the last large file does not resetfilesystem properties
From: Andrew Morton
Date: Tue May 11 2004 - 02:52:42 EST
John McGowan <jmcgowan@xxxxxxxx> wrote:
> 1: For the first week, at least, after installing a new kernel, I set the
> system to force fsck on boot (Fedora Core1, rc.local script to "touch"
> 2: Home system, single user. Turn off at night. Turn off when I go to eat
> lunch. Etc. (reboot at least once each day - silly, but it is a single
> user system and I don't want to waste electricity and it gives better
> protection against storms and line spikes).
> 3: Was using Gimp 2.0 and used a tool. Got a 6 Gig swap file in /tmp/gimp2
> (there must be a problem with that tool). Closed gimp, got rid of the
> swap file. Upon the next boot I got:
> Dropping to root command line for system maintenance
> (such fun ... entering the root password got more error messages about
> missing programmes such as "id" and "test" - well, I have "/usr" on
> another partition and it was not mounted).
I think this is really an e2fsck/initscript problem.
fsck saw that there were no large files on the fs, then fixed up the
superblock to say that then returned an exit code which says "I modified
The initscripts see that exit code and have a heart attack.
What should happen is that fsck returns an exit code which says "I modified
the fs, but everythig is OK". And the initscripts should say "oh, cool"
and keep booting.
I don't know whether the problem lies with fsck or initscripts.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/