Para saber la capacidad total del disco, podrías hacer:

  dmesg | grep "[hs]d[ab]"

Y fijarte el tamaño reportado por el kernel al reconocer el disco, o también puedes ejecutar:

  fdisk -l /dev/DISCO | awk '/^Disk/{ print $5 / 1048576 " MB" }'

En este caso sí debes saber qué disco vas a consultar, y lo puedes sacar del comando "mount".

On 9/7/06, Juan Carlos Bazalar <[EMAIL PROTECTED]> wrote:
Pero en realidad df no mostrara el tamaño del disco total, solamente
de las particiones que tengas montadas.

2006/9/7, Gabriel Puliatti <[EMAIL PROTECTED]>:
>
>
> On 9/7/06, Fabian Donoso C. <[EMAIL PROTECTED]> wrote:
> > Hola señores:
> >         Cual es el comando para saber en RH:
> > 3.- capacidad total del HDD
> >
> >
>
> $ df
> te sirve para ver el tamaño de las particiones. Si quieres en formato mas
> legible, usa df -h
>
> --
> No violence, gentlemen -- no violence, I beg of you!  Consider the
> furniture!
>                 -- Sherlock Holmes
>
> Gabriel Puliatti
> [EMAIL PROTECTED]
> predius.org
> _______________________________________________
> Lista de correo Linux-plug
> Temática: Discusión general sobre Linux
> Peruvian Linux User Group (http://www.linux.org.pe)
>
> Participa suscribiéndote y escribiendo a:   [email protected]
> Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
> http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug
>
> IMPORTANTE: Reglas y recomendaciones
> http://www.linux.org.pe/listas/reglas.php
> http://www.linux.org.pe/listas/comportamiento.php
> http://www.linux.org.pe/listas/recomendaciones.php
>
>
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe )

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php



--
Nestor
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php

Responder a