[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f36b08ee0611151206k50284ef9n43d7edf744ae2f19@mail.gmail.com>
Date: Wed, 15 Nov 2006 22:06:43 +0200
From: "Yakov Lerner" <iler.ml@...il.com>
To: Kernel <linux-kernel@...r.kernel.org>
Subject: locking sectors of raw disk (raw read-write test of mounted disk)
I'd like to make read-write test of the raw disk, and disk has
mounted partitions. Is it possible to lock range of sectors
of the raw device so that any kernel code that wants to write
to this range will sleep ? (so that test
{ lock range; read /dev/hda->buf; write buf->/dev/hda; unlock }
won't corrupt the filesysyem ?)
Thanks
Yakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists