deleting partition does not effect superblock?

From: Sumit Narayan
Date: Thu Apr 06 2006 - 02:37:46 EST


Hi,

I am using kernel 2.6.15.4.

On my system, I first created a partition with EXT3 and put some data
on it. Later, I deleted the partition, and re-created another
partition with the same starting block number and a higher ending
block number. I intended to format it with another filesystem, but
surprisingly (or maybe just to me), the superblock of the partition
had not changed. I could still mount the new partition as the same old
filesystem. I could see all the files which was present earlier. Doing
'df' showed me the older partition details (size, % used etc.).

Shouldn't the superblock be changed/deleted once the partition is
deleted? I tried a reboot, but the output remained the same.

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