hdparm utilizes shared memory for no good reason ?
Mike Frysinger
vapier at gentoo.org
Tue May 16 08:59:28 PDT 2006
On Tuesday 16 May 2006 07:49, Tito wrote:
> On Tuesday 16 May 2006 08:19, Mike Frysinger wrote:
> > 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 ?
>
> It is what the real hdparm does, after Rob applies my pending shrinkage
> and bugfix patch I can try to write a fix for that ... if you haven't one
> already.
i have not done anything beyond looking into why it failed
if you wouldnt mind seeing about dropping the shm* stuff, i'd love you long
time ;)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20060516/3393153d/attachment.pgp
More information about the busybox
mailing list