The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: tfb@tfeb.org (Tim Bradshaw)
Subject: [TUHS] Were all of you.. Hippies?
Date: Fri, 24 Mar 2017 10:21:33 +0000	[thread overview]
Message-ID: <75699103-DFF1-485E-A1C0-63D62F11A62C@tfeb.org> (raw)
In-Reply-To: <CAP6exYK__gOcSb8YSz_3KYZvG5DEV0cvDAqqEdtJ95TF=tG+kQ@mail.gmail.com>

On 24 Mar 2017, at 01:03, ron minnich <rminnich at gmail.com> wrote:
> 
> 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.

And if, for instance, I have a regular need to enumerate various properties of the avatars of the PCI devices in the filesystem, I might decide to write a program which does that, rather than patching together some arcane mass of cat | sed |awk each time (if even the contents of the avatars isn't some awful binary blob, which I think it should not be but whether that's a Unixism or not I am not sure).  I might call that command 'lspci'.

Or in other words, the existence of commanda like 'lspci', and the existence of PCI device avatars in the file system is not at all mutually exclusive, unless you think people should not write utilities beyond those handed down of old.

Indeed I've frequently written commands just like this which look through files in /proc for useful things.

(None of this is meant to imply that systems which have such commands have got this right -- I completely agree that they should present things in the filesystem -- just that they could have got it right and the command might still exist.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170324/ec5eaa94/attachment.html>


  parent reply	other threads:[~2017-03-24 10:21 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20 21:48 Steffen Nurpmeso
2017-03-20 22:10 ` Dave Horsfall
2017-03-20 22:32   ` Ron Natalie
2017-03-20 23:05     ` ron minnich
2017-03-21  2:51       ` Nick Downing
2017-03-21 20:28       ` Josh Good
2017-03-23 20:18         ` Michael Parson
2017-03-23 20:51           ` ron minnich
2017-03-24  0:18             ` Josh Good
2017-03-24  0:27               ` Larry McVoy
2017-03-24  1:03                 ` ron minnich
2017-03-24  1:05                   ` Larry McVoy
2017-03-24  2:33                   ` Andrew Warkentin
2017-03-24  5:17                     ` Random832
2017-03-24  5:37                     ` Erik E. Fair
2017-03-24 13:33                       ` Random832
     [not found]                     ` <20170324034915.GA23802@mcvoy.com>
2017-03-25  0:41                       ` Andrew Warkentin
2017-03-25  5:01                         ` Random832
2017-03-25 12:48                           ` Andrew Warkentin
2017-03-24  5:14                   ` Random832
2017-03-24  6:06                     ` ron minnich
2017-03-25  0:02                       ` Dave Horsfall
2017-03-25  0:42                         ` Toby Thain
2017-03-24  7:23                     ` shawn wilson
2017-03-24 23:55                       ` Josh Good
2017-03-25  3:55                         ` ron minnich
2017-03-25  4:52                           ` Steve Johnson
2017-03-25 13:48                             ` Jason Stevens
2017-03-25 18:51                           ` Clem Cole
2017-03-25 22:26                           ` Josh Good
2017-03-26  2:52                             ` Clem Cole
2017-03-24 10:21                   ` Tim Bradshaw [this message]
2017-03-24 13:55                     ` Random832
2017-03-24 14:53                       ` Tim Bradshaw
2017-03-24  2:33                 ` Dan Cross
2017-03-24  3:53                 ` Clem Cole
2017-03-24  7:15                 ` shawn wilson
2017-03-24  7:37                   ` Kurt H Maier
2017-03-24  8:06                     ` shawn wilson
2017-03-24 15:22                       ` Dan Cross
     [not found]                         ` <CALMnNGj6jcM5E1jJtxSnhnyQPBV7Hn4B06=tm1vv0TfKV=Bs1A@mail.gmail.com>
2017-03-24 22:09                           ` Dan Cross
2017-03-24 15:34                       ` Chet Ramey
2017-03-24 15:30                     ` Chet Ramey
2017-03-24 17:09                       ` Kurt H Maier
2017-03-20 23:08     ` Dave Horsfall
2017-03-21  0:10       ` Dan Cross
2017-03-21  2:09         ` Dave Horsfall
2017-03-22 12:50     ` Tim Bradshaw
2017-03-22 15:27       ` Dave Horsfall
2017-03-20 22:17 Noel Chiappa
2017-03-21 12:19 ` Steffen Nurpmeso
2017-03-21 12:48 ` arnold
2017-03-21 13:29 ` Jason Stevens
2017-03-23 10:13   ` Steffen Nurpmeso
2017-03-23 12:08     ` Jason Stevens
2017-03-20 23:28 Doug McIlroy
     [not found] ` <CAH_OBifeRyD__=TKTa=bMtFBMg9LsrCOyB+sSrO54Ezc-+zJbw@mail.gmail.com>
2017-03-21  1:24   ` shawn wilson
2017-03-21 16:20     ` Ron Natalie
2017-03-21  1:45 ` Derrik Walker v2.0
2017-03-22 17:49 Noel Chiappa
2017-03-22 22:35 ` Nick Downing
2017-03-23  8:56   ` shawn wilson
2017-03-23 13:13     ` Chet Ramey
2017-03-23 14:00   ` Tim Bradshaw
2017-03-23 16:22 Noel Chiappa
2017-03-23 23:40 ` Wesley Parish
2017-03-24 13:41 Noel Chiappa
2017-03-26  1:16 Noel Chiappa
2017-03-26  1:35 Noel Chiappa
2017-03-26  1:45 ` Kurt H Maier
     [not found]   ` <CAH1jEzb=ZzPMT6YWg9pbR4T=s_ckB4YFsBJnefj8AEatdBY_MQ@mail.gmail.com>
2017-03-26  4:46     ` Nick Downing
2017-03-26  2:49 ` ron minnich
2017-03-26  3:01 ` Andrew Warkentin
2017-03-26  3:11 Noel Chiappa
2017-03-26  3:17 ` Andrew Warkentin
2017-03-26  3:21 ` Kurt H Maier
2017-03-26  3:49 ` Dan Cross
2017-03-26  3:55 ` ron minnich
2017-03-26 16:26 ` Lyndon Nerenberg
2017-03-26 16:40   ` Larry McVoy
2017-03-26 18:35     ` Steve Simon
2017-03-26 20:05     ` Andy Kosela
2017-03-26  3:32 Noel Chiappa
2017-03-26  3:51 ` Dan Cross
2017-03-26 11:31   ` Ron Natalie
2017-03-26 22:06     ` Larry McVoy
2017-03-26 23:29       ` Wesley Parish
2017-03-27  4:20     ` Dave Horsfall
2017-03-26  4:31 ` Warner Losh
2017-03-27  3:36 Doug McIlroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75699103-DFF1-485E-A1C0-63D62F11A62C@tfeb.org \
    --to=tfb@tfeb.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).