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

FOSS Events: M|17, GNU Hackers' Meeting, and Upcoming FreeBSD Events

Debian and Tails (Based on Debian)

  • Debian Project to Shut Down Its Public FTP Services, Developers Are Not Affected
    The Debian Project, a group of developers from all over the world who create one of the most popular and used free operating systems on the planet, Debian GNU/Linux, announced that they're shutting down their FTP servers for users.
  • LinuxAndUbuntu Distro Review Of The Week Debian Linux 8.7 (Jessie)
    ​I have always been a Ubuntu guy. I use Ubuntu or some other derivatives like Mint or elementary but never have I tried Debian. Well not anymore. I tested Debian and I must say I really like it. The thing with Debian is that stability is prioritized over all other factors. So if you are looking for the latest updates to packages, Debian is not the one. Debian is very popular amongst Linux users and rightly so. It enjoys a very superior community support compared to many other distros and most importantly the stability. So my experience? Let's start the distro review of the week, Debian 8.7.
  • Improve Your Online Security with Tails
    The popular image of online dangers is scary bad guys trying to steal our stuff. This image is accurate if you remember to include unfettered corporate interests as the scary bad guys. Our protections against our good friends the telcos and cable companies have never been strong, and now they're nearly non-existent. Repealing Broadband Privacy Rules, Congress Sides with the Cable and Telephone Industry sums it up beautifully: "Internet providers will be given new powers to harvest your personal information in extraordinarily creepy ways." And buy and sell it with no oversight or accountability, and law enforcement will get their hands on it as surely as road apples draw flies. What can we do about it? I believe that the best solution is legislative. I prefer technical solutions for protecting ourselves from hostile and predatory interests, but there aren't many, and they're incomplete. Internet access is a requirement for many routine aspects of our daily lives, and even if you avoid going online you have no knowledge or control of the information the vendors and service providers that you use are collecting and trading, or what people share about you on social media. Stores, electric and gas utilities, healthcare providers, tradespeople, private clubs, non-profit organizations, charitable groups, banks, insurance companies, and on and on. They all collect information about you, and many trade it freely. Of course, it's not fair to assume that everyone is venal, but even when a vendor has a heart of gold they may be lacking in technical competence.

Leftovers: Gaming

Thunderbird 'redesign'