Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Jul 2016, 23:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
lspci-3.4.0 for Puppies
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
musher0


Joined: 04 Jan 2009
Posts: 8169
Location: Gatineau (Qc), Canada

PostPosted: Sat 21 Nov 2015, 17:13    Post subject:  lspci-3.4.0 for Puppies
Subject description: A tool to "inspect and manipulate pci" data.
 

Hello all.

Please find at the URL below a *.pet archive of the latest pciutils, pciutils-3.4.0.
~~~~~~~~~~~
-- https://www.adrive.com/public/75eUQm/pciutils-3.4.0.pet --
~~~~~~~~~~~

Why this pet? I realized Puppies might not have as many tools as other
distros to probe the ids of your computer's PCI's. < lscpi > is mentioned
in a lot of places on the web as a tool to inspect your computer's PCI's,
but it's not in Puppies by default. So here you go.

"If there is a genuine need, it will be met." (American author Henry
Miller, somewhere in "Big Sur and the Oranges of Hieronymus Bosch") Very Happy

Another tool you might consider for this is inxi,
-- https://github.com/smxi/inxi --,
which is more complete since it can also probe the CPU, the kernel and
a couple of other things.

I compiled these "pciutils" to go in /usr instead of /usr/local. Aside from
that, a very "default" compilation. Compiled in upupRaring-3.9.9.2 from the source obtained at the URL indicated above, which is the developer's
site.

In the hope that this may be useful to some.

Have a great week-end!

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink

Last edited by musher0 on Mon 23 Nov 2015, 02:39; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 393

PostPosted: Sat 21 Nov 2015, 23:44    Post subject:  

@musher0
The following phrase from your post caught my eye.
Quote:
I compiled these "pciutils" to go in /usr instead of /usr/local.

The tone makes it seems the placement is arbitrary and non-standard, but you offer no explanation for the location you select. If /usr/local is the "correct" or standard place, then I daresay an explanation is necessary if placed elsewhere. Smile

If there is one thing I hate about Linux it is the unpredictability of where developers place programs and the inevitable rats nest of symlinks?

_________________
B.K. Johnson
tahrpup-6.0.2/3/5 PAE, slacko-5.7, frugal install, pupsave file, multi OS flashdrive, SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 8169
Location: Gatineau (Qc), Canada

PostPosted: Sun 22 Nov 2015, 09:58    Post subject:  

Oh.

Sorry if I caused any anxiety or anger.

Well, in Puppy Linux, as I understand it, /usr/local/bin is reserved for "local" apps
and utilities, meaning: they are specific to Puppy, such as the series of default*
launchers you find there, or apps and utilities chosen by the user.

Again, -- as I understand it and my understaning of it could be wrong --, really core
utilities such as busybox and awk go in /bin. The utilities that are not core and not
Puppy- or user-pecific go in /usr/bin.

Other distros give a different meaning to "local", as in "if it didn't come with the
distro iso, it goes in /usr/local/bin".

To be frank, I hesitated between putting lscpi & Co. in /bin and /usr/bin because I
feel that these cpi utilities are core utilities similar in importance to the GNU coreutils.

I hope this is helpful. BFN.

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 393

PostPosted: Mon 23 Nov 2015, 00:51    Post subject:  

musher0 wrote:
Quote:
Sorry if I caused any anxiety or anger.

You neither caused anxiety nor anger; my post was not intended to convey either.

Quote:
Other distros give a different meaning to "local", as in "if it didn't come with the distro iso, it goes in /usr/local/bin".

Puppy Linux, as I understand it, /usr/local/bin is reserved for "local" apps
and utilities, meaning: they are specific to Puppy


I don't see any essential difference between these.

Quote:
I feel that these cpi utilities are core utilities [unstated but inferred and therefore, should be put in /usr/bin or /bin]

Well, here we differ. IMHO, it is the puppy developer who determines the core utils, not the user. Therefore, in view of my take on core utils and finding no meaningful difference between the particular puppyism and what other distros do, I would have placed it in /usr/local/bin.

But worry not my Canadian friend from the lovely Gatineas of Quebec, it's just my opinion.

_________________
B.K. Johnson
tahrpup-6.0.2/3/5 PAE, slacko-5.7, frugal install, pupsave file, multi OS flashdrive, SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 8169
Location: Gatineau (Qc), Canada

PostPosted: Mon 23 Nov 2015, 02:04    Post subject:  

Hello, B. K. Johnson.

Live and learn, eh? Thanks for contributing to my Linux education. However,
being a practical man more than a Linux theoretician or purist, I'm happy
that any executable works from any "/bin" directory in the $PATH.

Anyway, here is a screen cap of what lscpi does and the URL of its man page.

I hope that will help our Puppyists discover more easily some of the
hardware supporting their Puppy.

BFN.

musher0
lspci_2015-11-23.jpg
 Description   
 Filesize   25.64 KB
 Viewed   54 Time(s)

lspci_2015-11-23.jpg


_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0437s ][ Queries: 12 (0.0047s) ][ GZIP on ]