lkml.org 
[lkml]   [2001]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Strange /dev/loop behavior
From
Date
Byron Stanoszek <gandalf@winds.org> writes:

> Is there any known method of copying/compressing the loopback-mounted file-
> system that always guarantees consistency after a sync, without requiring the
> fs to be unmounted first?

Mounting read-only and then syncing might do it. Going directly to
the block device on 2.4.x is not supported when the filesystem is
mounted. This is because the page cache is not coherent with the
block cache, and there are now plans to make this the case. In
general this won't work anyway because some other program might
be modifying your fs while you read the block device.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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