[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ext2 caches
   Date: 	Fri, 29 Sep 2000 19:24:01 +0200
From: Frederic Magniette <>

We would like to do some operations on a ext2 disk while it is
mounted read-only. The problem is that our operations have no
effects because everithing is cached. Is it possible to shrink all
the caches, especially the superblock caches and to reload the
changes? We used prune_dcache (kernel 2.2.14) and dev_fsync . It
has some effect but none on the superblock and the root of the disk.
Thanks by advance

It is not safe to modify an ext2 filesystem via external means while it
is mounted, even if it is mounted read-only. You can panic the kernel
that way. (Well, tune2fs works while the filesystem mounted, but that's
a special case.)

Basically, no, it's not safe to do this for just about any filesystem.

- Ted
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.058 / U:10.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site