Re: basic fdisk question...

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

 



You might try df first. Which gives you a list of partitions, like 


C:\WINDOWS>cd\progra~1\networksimplicity\ssh

[thewiz@host thewiz]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             75822432  59432520  12538332  83% /
/dev/hda1               101089     58624     37246  62% /boot
none                    240752         0    240752   0% /dev/shm
/dev/hdb1             19726356   5952700  12771604  32% /mnt/big

the drives on this system are hda and hdb, for example.

More detailed information can be found with dmesg, which lists everything pretty much on a box. Even gives buffer details on some drives. Thus,

Linux version 2.4.20-31.9 (bhcompile@xxxxxxxxxxxxxxxxxxxxx) (gcc version 3.2.2 2
0030222 (Red Hat Linux 3.2.2-5)) #1 Tue Apr 13 17:38:16 EDT 2004
BIOS-provided physical RAM map:
...
hda: WDC WD800JB-00CRA1, ATA DISK drive
hdb: WDC WD205BA, ATA DISK drive
blk: queue c03c5920, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03c5a64, I/O limit 4095Mb (mask 0xffffffff)
hdc: SAMSUNG CD-ROM SC-152L, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=2495/255/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 hda3
 hdb: hdb1
ide-floppy driver 0.99.newide
...

Just to give you a short example.

fdisk can be dangerious to newbies, but it will tell you how a partition table looks, and what type of partition exists.

Just a couple of ideas.

Tom Klem









































*********** REPLY SEPARATOR  ***********

On 05/23/2004 at 3:55 PM bruce wrote:

>ok.. a basic question that i can't find the right answer for...
>
>how can i find out what my hard drive on my system is called...???
>
>is fdisk the right function to use.. what would the attributes be...???
>
>thanks
>
>bruce
>bedouglas@xxxxxxxxxxxxx
>
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux