hdparm utilizes shared memory for no good reason ?

Mike Frysinger vapier at gentoo.org
Tue May 16 06:19:14 UTC 2006


was trying to use `hdparm -t` on a uClinux host when it failed with:
could not allocate sharedmem buf

this is because hdparm uses shm* functions to get a buffer of memory ... but 
afaict, there's no reason a buffer created on the stack/heap wouldnt work 
just as well

could someone enlighten me as to why the shm* stuff is needed ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060516/a57e26f3/attachment-0002.pgp 


More information about the busybox mailing list