[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
removing an ext2fs file forces disk activity
From: |
Marcus Brinkmann |
Subject: |
removing an ext2fs file forces disk activity |
Date: |
Mon, 25 Mar 2002 10:07:25 -0500 |
User-agent: |
Mutt/1.3.25i |
Hi,
I just found out that
while touch /tmp/foo; do rm /tmp/foo; done
causes a lot of disk activity. Further tests showed that the disk is
activated for each rm. Is this a hard requirement? In Linux, the loop
above does not cause any disk activity (except at the beginning and
maybe at the end), it seems to be done completely in the cache.
Thanks,
Marcus