[TUHS] Were all of you.. Hippies?

ron minnich rminnich at gmail.com
Fri Mar 24 11:03:03 AEST 2017

On Thu, Mar 23, 2017 at 5:28 PM Larry McVoy <lm at mcvoy.com> wrote:

> I think Ron is just in Grumpy Old Man mode (he's a friend, we go way back,
> so I get to say that :)
> Personally, I sort of get the ls<something> model.  ls is how you list
> things, <something> is how you say what you want to list.  Is it Unix
> like?  Hmm, perhaps not.

like larry said. I'm a grumpy old man. And lspci is not Unix. And neither
is anything we use nowadays that begins with ls and has more than 2 letters.

In Unix, resources have names. They are visible in a name space, organized
into directories. The names can be enumerated by opening and reading a
directory. Information about them can be determined with stat. Their
contents can be read by open and read. They can be changed with open and

it's a pretty simple and consistent model. And it works just fine with,
e.g., the the Plan 9 pnp device. From my point of view, if a user needs
lspci to enumerate PCI resources, it's because the kernel has fallen down
on the job by failing to support the Unix model.

I can argue this point all day, but I'll let it go at that :-)


p.s. It's not you, it's me. "You, sir, are a curmudgeon"  -- Rob Pike, to
me, on 9fans. As a result of this note, while I was at Los Alamos I was
assigned curmudgeon at lanl.gov. Made my day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170324/2bed247f/attachment.html>

More information about the TUHS mailing list