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

Re: ext2resize



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
-- 
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



Reply to: