On an IDE drive, the first drive is called hda, and the partitions are shown as
hda1, hda2 . . . . etc. etc. Your second drive is called hdb.
On a SCSI drive, the first drive is called sda, the partitions are sda1, sda2 . .
The second drive is called sdb.
Now that was relatively simple, but now comes the more complicated part, I
took parts of this from a post of Jason Wallwork ( Linuxdude32 ) because he
was able to explain it better then I can:
You will never see hda4 mounted, just hda5 and hda6, in this case. Note that
Linux numbers primary partitions 1-4, logical partitions start at 5 and up, even if
there are less than 4 primary partitions.
So, in a nutshell: if you start out with one HD that has windows C: and D:
You will see them in Linux as hda1 and hda2 . . . then as you add a distro
and let it automatically use the free space on that drive ( if that distro has
that option like Mandrake ) it will make an extended partition and set up a
partition for / and a partition for /swap plus a /home partition and call them
hda5, hda6 and hda7 ( in that order ). You will see that if you make the
partitions yourself, using preferably a Linux tool to make the partitions, the
result will be more or less the same, only in that case you will be able to
make even more partitions . . . for extra storage, backups, or additional
distros.
You will only need one swap partition as that can be shared by the various
distros.
This tells the kernel to attach the filesystem found on device (which
is of type type) at the directory dir.
The general attributes are: set user id on executing (setuid), set group id on executing (setgid), and the
sticky bit. These attributes can be set with the command chmod using either method :
or numerically: