Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
Finding information about partitions

8.2. Finding information about partitions

There are a number of ways to find out information on your hard disk drives, for information on mounted partitions also try df in Chapter 8

Using the proc filesystem

You can look through the information in the relevant area of the proc filesystem, under the directory of either /proc/ide/ or /proc/ide?/hd? where the first question mark is a number and the second is a letter (starting with 'a').

For example:

cd /proc/ide0/hda

Under this directory there will be various information on the hard drive or cdrom connected.

Using fdisk

Using fdisk with the -l option will output information on any hard drives connected to the system and information on their partitions (for example, the type of partition).

Information relating to using fdisk to partition hard disks can be found in your distributions documentation, the fdisk manual page or online.

NoteRoot Access Required
 

This command needs root access to work