On Thu, Feb 20, 2014 at 10:42:02AM -0500, Gabriel L. Somlo wrote:
> On Thu, Feb 20, 2014 at 10:38:04AM -0500, Gabriel L. Somlo wrote:
> > On Thu, Feb 20, 2014 at 04:27:27PM +0100, Gerd Hoffmann wrote:
> > > On Mi, 2014-02-19 at 15:40 -0500, Gabriel L. Somlo wrote:
> > > > So I gave up on that relatively quickly, as there's no easy and
> > > > convenient way to "harvest" a binary of just one table type from
> > > > a host that works the way I want it... :(
> > > 
> > > "dmidecode --type 2" ?
> > 
> > That doesn't work with --dump-bin, to get me something I could just
> > load with "-smbios file=<foo>".

But real men compile their binary SMBIOS tables by hand:

echo -ne "\x02\x0f\x00\x02\x00\x00\x00\x00\x00\x01\x00\x00\x03\x0a\x00\x00\x00" 
> type2.bin

This seems to work quite allright, at least for now :)

--Gabriel

Reply via email to