Messages in this thread | | | Date | Sat, 17 Jul 1999 16:59:00 +0100 (GMT) | From | Riley Williams <> | Subject | Re: help with cache |
| |
Hi Andrew.
> I'm writing a Partition Magic clone, and I've got a spare hard > drive to test it with. When my program (GNU parted) nukes the > partition, I run mkfs on it. However, the old partition still > appears to my program until I reboot.
> Is this a cache issue? How can I clear the cache? Are there > any good references on how the cache works?
I note that when one uses fdisk to repartition a disk, one of the things it does when one writes out the new partition table is to attempt to resync the disk.
You may therefore wish to look at the source for fdisk to see precicely what it does there, and then emulate that...
Best wishes from Riley.
+----------------------------------------------------------------------+ | There is something frustrating about the quality and speed of Linux | | development, ie., the quality is too high and the speed is too high, | | in other words, I can implement this XXXX feature, but I bet someone | | else has already done so and is just about to release their patch. | +----------------------------------------------------------------------+ * ftp://ftp.MemAlpha.cx/pub/rhw/Linux * http://www.MemAlpha.cx/kernel.versions.html
- 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/
| |