[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext2resize



On Sunday 18 February 2001 18:15, Moritz Schulte wrote:
> studenten wg <debian@babylon-systems.de> writes:
> > can i know just delete /dev/hda5 and recreate it with 500M size ?? (
> > in single user mode i suppose )...
>
> No, you can't do that. /dev/hda5 is a so-called "device file". Device
> files are the interfaces to the device drivers. If you access
> /dev/hda5, Linux forwards the requests to the device driver, which is
> responsible for this device file. So, /dev/hda5 isn't 500MB; the
> partition, which is represented by /dev/hda5 is 500MB big.
>
>         hth,
> 	moritz

i didn't mean to delete /dev/hda5 as file...
i meant deleting the partition with fdisk...
but i will now try ( after a backup ) parted...

peter



Reply to: