Re: partitioning mounted devs?!?

Peter-Paul Witta (e9525748@student.tuwien.ac.at)
Wed, 14 Oct 1998 08:26:36 +0200 (METDST)


>
> > hi!
> > why can i delete MOUNTED partitions?
>
> If you mean
>
> mount -t ext2 /dev/hda4 /usr
> rm /dev/hda4

nope, i meant

mount -t ext2 /dev/hda4 /mnt
fdisk
p
d
4
w
q
(print p-table, delete partition 4, write, wuit). imo either the kernel or
fdisk could check if the partition is mounted...

regards,
paul.

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