LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* A small and silly question regarding libata
@ 2008-10-19  3:12 Rogério Brito
  2008-10-19 10:23 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Rogério Brito @ 2008-10-19  3:12 UTC (permalink / raw)
  To: linux-kernel, Jeff Garzik

Hi there.

I have a small question regarding libata.

Using the plain IDE subsystem the Host Protected Area of a given HD is
disabled and this gives me more room for my files:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
hda: Host Protected Area detected.
	current capacity is 156299375 sectors (80025 MB)
	native  capacity is 156301488 sectors (80026 MB)
hda: Host Protected Area disabled.
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

What is the current status with libata for PATA devices?


Regards, Rogério Brito.

-- 
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A small and silly question regarding libata
  2008-10-19  3:12 A small and silly question regarding libata Rogério Brito
@ 2008-10-19 10:23 ` Alan Cox
  2008-10-19 12:03   ` Rogério Brito
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2008-10-19 10:23 UTC (permalink / raw)
  To: Rogério Brito; +Cc: linux-kernel, Jeff Garzik

> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> What is the current status with libata for PATA devices?

You can choose to ignore it with libata.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A small and silly question regarding libata
  2008-10-19 10:23 ` Alan Cox
@ 2008-10-19 12:03   ` Rogério Brito
  0 siblings, 0 replies; 3+ messages in thread
From: Rogério Brito @ 2008-10-19 12:03 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, Jeff Garzik

First of all, thank you very much Alan.

On Oct 19 2008, Alan Cox wrote:
> > hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > 
> > What is the current status with libata for PATA devices?
> 
> You can choose to ignore it with libata.

Some clarification here: do you mean with ignore_hpa=1 here?

>From a quick reading of the code in libata-core.c, it seems that the
code tries to disable hpa, if possible. Is that correct?

I now regret having partitioned an HD under a 2.4 kernel. :-( I'm
wasting 10MiB according to bc. :-(

I wish that USB enclosures would also allow things like hpa to be
disabled.


Thank you very much for your help, Rogério Brito.

-- 
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-19 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-19  3:12 A small and silly question regarding libata Rogério Brito
2008-10-19 10:23 ` Alan Cox
2008-10-19 12:03   ` Rogério Brito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).