LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3972/0)
Reviews (626/0)
Press Releases (464/0)
Distributions (187/0)
Software (807/0)
Hardware (522/0)
Security (192/0)
Tutorials (337/0)
Off Topic (180/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events



Linux and Disk Partitions   
Tuesday, January 20 2009 @ 03:07 PM EST
Contributed by: sde

As usual, this blog post comes out of something I have been working on (read as: struggling with) for the past few days. The purpose is to give an overview of disk partitioning under Linux, specifically as it relates to PC BIOS systems, and to make a suggestion about partition names and references.

A typical PC BIOS will allow a maximum of four partitions to be created on one disk. Corresponding to this, Linux reserves the first four device names on a disk drive to match these four partitions - regardless of how many partitions you actually create. This means that in the typical case the device names /dev/sda1 ... /dev/sda4 (or hda1 ... hda4, depending on what version of Linux you are using and what kind of disk controller you have) will be assigned to those partitions. If you don't create all four partitions you will not see all of these names in the /dev directory, but they will be reserved none the less, and as we will see next, they will not be used for any subsequent partitions that may be created. Likewise, GRUB reserves its first four identifiers, (hd0,0) ... (hd0,3) for the four physical partitions.

Read more

  [ Views: 2098 ]  


Linux and Disk Partitions | 0 comments | Create New Account
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No user comments.


What's Related
  • Read more
  • More by sde
  • More from Tutorials


  • Story Options
  • Mail Story to a Friend
  • Printable Story Format


  • We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, and SQL.

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved