need better standard drive partition identify method
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
need better standard drive partition identify method
Some Linux will name the internal drive partitions as; hda1,etc, while other distributions will call them as; sda1, etc. And if you have a SATA external hard drive with some Linux installed, then the fdisk-l shows the external drive as; sda, and my internal IDE PATA drive as; sdb. So when you want to mount some partitions, we need to run that fdisk-l to list just how each drive is perceived as. The older Linux and Slackware do use the old way as; IDE PATA is hda, and SCSI or SATA as sda, but the newer distros are useing sda and sdb, etc, and now with UUID method too. It sure would be less confusing if all Linux had the same identify method.
The general trend is to eventually drop the hdX designations (generally only used for pata devices) in favor of the sdX (originally just scsi type devices). The reason behind it is so that we can have fewer tools to maintain( just have sdparm rather than hdparm and sdparm, etc). The problem is that many of the chipset manufactures will not provide the necessary information about the chipsets to get the job done. So the distros that have gone all sdX (Fedora starting with F7?) still have a ton of outstanding bugs (like 40-60% transfer speed reduction in sata-pata transfers on some hardware, nforce4 chipsets among others). Once all those bugs have been cleared (and it will still be a while) I think virtually all distros will make the switch. It may be one of those things that becomes moot before it actually gets solved. My guess is that in the next couple of years pata devices will stop being produced.
I see then, and thanks for the helpful information. The main items I use this for are the grub boot menu.lst file, and to manually mount some partitions with the /etc/fstab file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.