lkml.org 
[lkml]   [1998]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: e2fsck...
On Wed, Nov 11, 1998 at 03:11:39PM +1030, Mofeed Shahin wrote:
>
> I am just wandering what (if any) are the concequences of running e2fsck
> on a read/write mounted fs (such as the root partition)?
> Linux 2.0.34

The kernel maintains a cache to store were files, inodes and other stuff
reside. Don't know if e2fsck is able to flush it, but I guess so; otherwise
fsck'ing a read-only partition wqould also cause pain.
With read-write, you have to be sure all data was written (sync'ed) to disk
(easy) and the kernel is not trying to write something until e2fsck has
finished. Don't know, if e2fsck has ways to tell the kernel not to do it. I
guess, no.

--
Kurt Garloff <K.Garloff@ping.de> (Dortmund, FRG)
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
Unix IS user friendly - it's just selective about who its friends are!

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans