From mboxrd@z Thu Jan 1 00:00:00 1970 From: lm@mcvoy.com (Larry McVoy) Date: Thu, 23 Mar 2017 18:05:17 -0700 Subject: [TUHS] Were all of you.. Hippies? In-Reply-To: References: <20170320214858.TIJoR%steffen@sdaoden.eu> <009301d2a1c9$cb604c70$6220e550$@ronnatalie.com> <20170321202839.GG21805@naleco.com> <20170324001832.GA13511@naleco.com> <20170324002754.GW23802@mcvoy.com> Message-ID: <20170324010517.GY23802@mcvoy.com> This reminds me of Rodger Faulkner. Ron and Rodger would have gotten on very well. On Fri, Mar 24, 2017 at 01:03:03AM +0000, ron minnich wrote: > On Thu, Mar 23, 2017 at 5:28 PM Larry McVoy 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 model. ls is how you list > > things, 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 > write. > > 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 :-) > > thanks > > ron > 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. -- --- Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm