From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: When should we use "hdparm" ?
Date: Fri, 13 Jul 2018 07:25:26 +0000 [thread overview]
Message-ID: <20180713072526.GA30992@kroah.com> (raw)
In-Reply-To: <CAJ2oMhJXCx6zyFbAF1FFNDcoUkPrx4PHHkxGrHHq3B38pNDQ9A@mail.gmail.com>
On Fri, Jul 13, 2018 at 09:29:50AM +0300, Ran Shalit wrote:
> Hello,
>
> We have some old system (2.4 kernel) which use hot swap with sata
> (IDE) , bu using commands such as:
> hdparm -U 0
> hdparm -R 0 0x1f0 ...
>
> But in newer system HW&SW we never use these commands when removing
> and inserting sata.
What do you do instead?
> Why was it used once and why is it not used in newer system ?
In the 2.4 kernel there was not kernel support for hot-swap devices like
this, so you had to "manually" do it with these types of commands.
> Is it that newer system do this somehow automatically ? Where ?is it
> done, in SW or HW ?
How exactly are you swaping your ide drives today?
And the 2.4 kernel was over a decade ago, hopefully you have upgraded
your hardware since then :)
thanks,
greg k-h
next prev parent reply other threads:[~2018-07-13 7:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 6:29 When should we use "hdparm" ? Ran Shalit
2018-07-13 7:25 ` Greg KH [this message]
2018-07-13 7:48 ` Ran Shalit
2018-07-13 7:50 ` Ran Shalit
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=20180713072526.GA30992@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.