Language Selection

English French German Italian Portuguese Spanish

Corraling Linux Hard Disk Names

Filed under
Hardware

The Linux kernel is a restless beast, and must continally evolve and change. Especially in ways that mystify us poor end lusers. A recent wrinkle, as of kernel version 2.6.20, is changing the /dev names for ATA devices, so that all ATA and SCSI devices are named /dev/sd*. This is a result of using the shiny new libata subsystem. In the olden days PATA (also called IDE) hard drives and ATAPI devices (CD/DVD, tape drives) were /dev/hd*, and SCSI and SATA devices were /dev/sd*.

However, not all Linux distributions default to using libata. *buntu Feisty and Gutsy are all over the map; some versions of them use the new naming convention, some don't, and I haven't figured out which ones, or why. You can see how your own system handles these names with a couple of simple commands. This example from Kubuntu Gutsy shows the old style:

$ ls /dev|grep '[s|h]d[a-z]'
hda
hda1
hda2
hdc
hdd
sda
sda1
sda2

$ mount|grep ^'/dev'
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
/dev/sda1 on /home type ext3 (rw)
/dev/sda2 on /media/sda2 type ext3 (rw)
/dev/hda2 on /var type ext3 (rw)

More Here




More in Tux Machines

CEO of bankrupt Linux company says employee lawsuits put it out of business

As we previously reported, after 17-years of duking it out with Microsoft Windows with some success, French company Mandriva just shuttered its doors and liquidated its assets. Mandriva offered a Linux operating system for PCs that was doing well in some developing nations. We reached out to the former CEO of Mandriva Jean-Manuel Croset, who joined Mandriva in 2011, to ask what happened. Read more Also: Mandriva 1998-2015

The Ubuntu 15.04 Lemur Laptop from System76 Is Now on Sale at a Special Price

System76, a hardware company, which is being known for building powerful computers with Ubuntu preloaded, has just announced that they have a special sale only for this weekend. Read more

Why your next database will be open source

While open source databases have long been popular for niche use cases, over the past decade they've steadily grown in maturity and importance. In fact, as Feinberg and Adrian note, "open-source RDBMS products have matured in the availability of DBA skills, availability of DBA tools and near-equality of RDBMS functionality. OSDBMS is being used successfully in mission-critical applications in a large percentage of organizations." Read more

openSUSE Tumbleweed Now Uses Linux Kernel 4.0.4

The openSUSE Tumbleweed distro has received another set of updates this week, and the distribution is now using Linux kernel 4.0.4, which is the most advanced version available right now. Read more