Re: partitioning mounted devs?!?

Shawn Leas (sleas@ixion.honeywell.com)
Mon, 12 Oct 1998 21:33:51 -0500 (CDT)


On Mon, 12 Oct 1998, Peter-Paul Witta wrote:

> hi!
> why can i delete MOUNTED partitions?

If you mean

mount -t ext2 /dev/hda4 /usr
rm /dev/hda4

It's because you're only removing the reference to the
inode (/dev/hda4) from the /dev directory inode.

You're never really doing anything to the inode that
/dev/hda4 refers to, only it's entry in /dev.

Is this what you were wondering?

-Shawn
<=========== America Held Hostage ===========>
Day 2091 for the poor and the middle class.
Day 2110 for the rich and the dead.
831 days remaining in the Raw Deal.
<============================================>

-
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/