[wplug] new HDD
Jonathan S. Billings
billings at negate.org
Sat Feb 21 21:11:08 EST 2004
the usage "df <filename>" gives you the disk usage on the partition
where <filename> exists. Since the *file* /dev/hda (the device file,
not the actually partition) exists on your root partition, it will
return the same results as /dev/hdb.
Check this out:
% df /dev/hda
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda 497829 225410 246717 48%
% df /dev/hdb
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb 497829 225410 246717 48%
(and for giggles)
% df /dev/mouse
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mouse 497829 225410 246717 48%
You should use something like 'fdisk -l /dev/hdb' to see what the
partitioning looks like.
jonathan
On Feb 21, 2004, at 8:26 PM, Brandon Kuczenski wrote:
> I just installed a new HDD as a primary slave. It is unformatted. I
> plan
> to mount it as /home. But I'm hesitant to 'fdisk /dev/hdb' because
> when I
> enter 'df /dev/hdb' it gives me the same info as 'df /dev/hda'. Is
> this
> normal? how can I be sure I'm formatting the right drive? How can I
> be
> sure the new drive has even been recognized (short of rebooting and
> checking the BIOS post)?
>
> System: RH9. But I want to do this using just the GNU tools and not
> any
> redhat-config-foo.
>
> -Brandon
>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list