Jump to content

Missing lspci and lsusb


Recommended Posts

I don't think they've been in any unraid distro.

 

Reason is lspci requires a 512K database file called 'pci.ids'.  lsusb's database is slightly smaller at 342K.  Together, including binaries, we're consuming about 1MB of RAM that has no purpose in an unRAID 'appliance'.  Not only that, I would be constantly having to update the databases as newer motherboards make use of newer chipsets.

 

Does 1MB make a difference?  Probably not, but if I included every package, which by itself "doesn't make any difference", added up might possibly make a big difference in performance of server, especially if someone is using something like 'cache_dirs' to cache inodes.  (I start getting complaints, "my disks keep spinning up but I'm using cache_dirs".)

 

So my philosophy has been and continues to be one of memory frugality  ;)

 

These packages would be great candidates for plugins tho...

Link to comment

My mistake... I thought they were there in past versions.... that's what I get for spending too much time in my "custom" unRAID environment. ;)

 

And I agree with the philosophy.  If you ever wrote your own multiboot partition boot loader, by poking machine code a byte at a time into the partition sector of a disk, you treat all memory space as precious.

Link to comment

And I agree with the philosophy. 

Me too.
If you ever wrote your own multiboot partition boot loader, by poking machine code a byte at a time into the partition sector of a disk, you treat all memory space as precious.

My first computer (Sinclair ZX-80) only had 1K of RAM, and that was shared/used for Video memory too.  I promptly piggy-backed a second RAM chip on the first tied in the extra address lead,  and doubled the RAM to 2K.  I then had TONS of room...

 

All memory was precious.  Amazing what we did with a few bytes of Z80 Op-codes.   

 

Joe L.

Link to comment

Before I ever had a ZX-80, my first programming was a 32-step limit program on a TI calculator.

 

I needed all 32 steps to find a better fractional representation for pi than 22/7 (=3.14286) .... I got 355/113 (=3.1415929)... pi=3.1415927

Link to comment
  • 2 weeks later...

BubbaQ, could you tell me how to get lsusb installed on unRAID?  I'm researching how to be able to identify usb card readers and phone connections that initially have an empty partition table when the device is first detected or plugged in. 

 

 

Link to comment

BubbaQ, could you tell me how to get lsusb installed on unRAID?  I'm researching how to be able to identify usb card readers and phone connections that initially have an empty partition table when the device is first detected or plugged in. 

 

run this command from telnet:

 

wget http://slackware.cs.utah.edu/pub/slackware/slackware-12.1/slackware/a/usbutils-0.73-i486-2.tgz -O /tmp/lsusb.tgz;installpkg /tmp/lsusb.tgz

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...