public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gabriel C <nix.or.die@googlemail.com>
To: Christoph Pleger <Christoph.Pleger@cs.uni-dortmund.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PATA-disk named sda
Date: Fri, 06 Jul 2007 16:40:24 +0200	[thread overview]
Message-ID: <468E5458.2060003@googlemail.com> (raw)
In-Reply-To: <20070706143055.01aa9ef6.Christoph.Pleger@cs.uni-dortmund.de>

Christoph Pleger wrote:
> Hello,
>   

Hi,

>   
>>> In the newest Ubuntu Release, my PATA-disk is called sda instead of
>>> hda. Is that a general feature in newer kernel versions or is it a
>>> special feature in Ubuntu?
>>>       
>> General. SATA and now PATA drives map onto the /dev/sd range as do
>> SCSI, USB etc
>>     
>
> It seems to be not that simple, at least not if both the old IDE
> interface and the new libata interface are enabled as modules: In my
> Ubuntu system, I created two kernel packages (from the same kernel
> source and with the same configuration) and installed them. Afterwards,
> I re-created the initial ramdisks, one with the Ubuntu feisty utilities
> and one with Debian etch utilities. So, I had the same kernel with
> different ramdisks. With the Ubuntu ramdisk, my harddrive was named sda,
> but with the Debian ramdisk, it was named hda.
>
> So, the name of the drive can depend on something which happens in the
> ramdisk environment. Does anybody know what that is? And is there a
> kernel command line parameter which restores the old behaviour?
>   

The boot options are different depending on the distribution you are using.
Every distribution has his own magic for this kind things. ( Debian and 
Ubuntu should have a man page with boot parameters )

On kernels with both IDE and PATA enabled as modules , depends on what 
you load first / include in your initramfs.
If you load the IDE subsystem first you get HD*'s while with PATA you 
get SD*'s.

I don't use Debian nor Ubuntu but it looks like Ubuntu has PATA as 
default while Debian has IDE.

> Regards
>   Christoph
>   

Gabriel

  reply	other threads:[~2007-07-06 14:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06  8:21 PATA-disk named sda Christoph Pleger
2007-07-06  9:13 ` Suren Karapetyan
2007-07-06  9:36   ` Christoph Pleger
2007-07-06  9:58     ` Suren Karapetyan
2007-07-06 17:55     ` Mark Lord
2007-07-07 18:33       ` Jan Engelhardt
2007-07-06  9:52 ` Alejandro Riveira Fernández
2007-07-06 10:11 ` Uwe Kiewel
2007-07-06 10:18 ` Alan Cox
2007-07-06 12:30   ` Christoph Pleger
2007-07-06 14:40     ` Gabriel C [this message]
2007-07-06 15:19     ` Alan Cox
2007-07-07 21:40     ` Rene Herman
     [not found] <fa.VMMtK2yPXE5gkxuIC8MWb1aPBiQ@ifi.uio.no>
     [not found] ` <fa.23lYEA4r0kfTVDJ1AKcxSE4vGKA@ifi.uio.no>
     [not found]   ` <fa.DRDWDh+VAXx84D/6XHgY6h2wB+E@ifi.uio.no>
2007-07-06 14:39     ` Robert Hancock
2007-07-06 17:58       ` Mark Lord
2007-07-06 18:47         ` Bartlomiej Zolnierkiewicz
2007-07-06 18:09       ` Bartlomiej Zolnierkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=468E5458.2060003@googlemail.com \
    --to=nix.or.die@googlemail.com \
    --cc=Christoph.Pleger@cs.uni-dortmund.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox