Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 11710 Details for
Bug 16822
hdparm -t /dev/hda broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to correct 5.3 problem
hdparm-5.3-wrongsize.patch (text/plain), 573 bytes, created by
Norberto Bensa
on 2003-05-08 23:26:01 UTC
(
hide
)
Description:
Patch to correct 5.3 problem
Filename:
MIME Type:
Creator:
Norberto Bensa
Created:
2003-05-08 23:26:01 UTC
Size:
573 bytes
patch
obsolete
>diff -urN hdparm-5.3.old/hdparm.c hdparm-5.3.new/hdparm.c >--- hdparm-5.3.old/hdparm.c 2002-11-24 19:52:19.000000000 -0300 >+++ hdparm-5.3.new/hdparm.c 2003-05-07 06:31:13.000000000 -0300 >@@ -1348,16 +1348,6 @@ > } > #endif /* HDIO_GET_ACOUSTIC */ > >- // >- // Try to adjust buffersize based on device size >- // >- if (do_ctimings || do_timings) { >- if (ioctl(fd, BLKGETSIZE, &parm)) >- perror(" BLKGETSIZE failed"); >- else if ( (parm * 512/(1024 * 1024)) < timing_MB) >- timing_MB = parm * 512/(1024 * 1024); >- } >- > if (do_ctimings) > time_cache (fd); > if (do_timings)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16822
:
8956
|
8957
|
8958
|
9194
| 11710 |
11711