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

Can Commercial Linux Gaming Succeed?

Linux games have always been one of the goals of free software. If game developers could only be persuaded to develop for Linux, the daydream goes, the operating system would start to gain serious market share. The last few years have lent hope to the dream, but the progress remains slow -- so slow, in fact, that its realization is starting to look questionable. The first large scale effort to sell Linux games commercially was Loki Software, which ported games like Civilization and Railway Tycoon around the turn of the millennium. It quickly failed financially, leaving Linux gaming largely to minor free-license games like Pysol and Tux Racer, and to efforts to run Windows games using WINE. Read more

Manjaro 0.8.10 Gets Its Tenth Update Pack and New Linux Kernels

The Manjaro 0.8.10 OS, a Linux distribution based on well-tested snapshots of the Arch Linux repositories and 100% compatible with Arch, has received a new update pack that consists of some minor changes and a few new kernels. Read more

ISO/IEC JTC1 Approves ODF 1.2 PAS Ballot

OASIS ODF 1.2, the current version of the Open Document Format standard, was approved by ISO/IEC JTC1 National Bodies after a 3-month Publicly Available Specification (PAS) ballot. The final vote for DIS 26300 was: 17-0 for Parts 1 and 2, and 18-0 for Part 3. Read more

KDE Applications and Platform 4.14.1 Officially Released

The KDE developers have released an update for KDE 4.14, which is actually the last version in the series. It will soon be replaced by KDE Frameworks 5, KDE Plasma, and KDE Applications. The entire system is now much more modular and the projects have been decoupled. The devs won't have to follow the same version number, so there will be some misunderstandings in the future. Read more