The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] User maintained programs in the Second Edition
@ 2016-12-22  7:27 Diomidis Spinellis
  2016-12-22  9:22 ` Joerg Schilling
  0 siblings, 1 reply; 8+ messages in thread
From: Diomidis Spinellis @ 2016-12-22  7:27 UTC (permalink / raw)


The Second Edition manual has a section titled "User Maintained 
Programs" listing the following utilities and games: basic, bc, bj, cal, 
chash, cre, das, dli, dpt, moo, ptx, tmg, and ttt.  In the Introduction, 
the reader is asked to consult their authors for more information.

Does anyone remember whether at the time these were installed in the 
system-wide /bin directory, or whether they were only available in their 
owners' home directories?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-22  7:27 [TUHS] User maintained programs in the Second Edition Diomidis Spinellis
@ 2016-12-22  9:22 ` Joerg Schilling
  2016-12-22  9:28   ` SPC
  2016-12-22 16:14   ` Dave Horsfall
  0 siblings, 2 replies; 8+ messages in thread
From: Joerg Schilling @ 2016-12-22  9:22 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

Diomidis Spinellis <dds at aueb.gr> wrote:

> Does anyone remember whether at the time these were installed in the 
> system-wide /bin directory, or whether they were only available in their 
> owners' home directories?

From what I remember from a talk from Stephen Bourne at a Sun user group 
meeting in 1990, user maintained programs have been installed in /usr/bin.

Stephen Bourne after some time wrote a cron job that checked whether an update
in a binary also resulted in an updated man page and otherwise removed the 
binary. This is why these programs have man pages.

Jörg

-- 
 EMail:joerg at schily.net                  (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-22  9:22 ` Joerg Schilling
@ 2016-12-22  9:28   ` SPC
  2016-12-22 16:14   ` Dave Horsfall
  1 sibling, 0 replies; 8+ messages in thread
From: SPC @ 2016-12-22  9:28 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

2016-12-22 10:22 GMT+01:00 Joerg Schilling <schily at schily.net>:
> Diomidis Spinellis <dds at aueb.gr> wrote:
>
>> Does anyone remember whether at the time these were installed in the
>> system-wide /bin directory, or whether they were only available in their
>> owners' home directories?
>
> From what I remember from a talk from Stephen Bourne at a Sun user group
> meeting in 1990, user maintained programs have been installed in /usr/bin.
>
> Stephen Bourne after some time wrote a cron job that checked whether an update
> in a binary also resulted in an updated man page and otherwise removed the
> binary. This is why these programs have man pages.
>
> Jörg
>
> --
>  EMail:joerg at schily.net                  (home) Jörg Schilling D-13353 Berlin
>        joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
>  URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/

Impressive. Everything has a reason, that's clear. A primitive but
more or less effective security measure for new software installations
:-)

Gracias | Regards - Saludos | Greetings | Freundliche Grüße | Salutations

--
Sergio Pedraja
--
twitter: @sergio_pedraja | skype: Sergio Pedraja
--
http://plus.google.com/u/0/101292256663392735405
http://www.linkedin.com/in/sergiopedraja
http://spedraja.wordpress.com
-----
No crea todo lo que ve, ni crea que está viéndolo todo
-----
"El estado de una Copia de Seguridad es desconocido
hasta que intentas restaurarla" (- nixCraft)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-22  9:22 ` Joerg Schilling
  2016-12-22  9:28   ` SPC
@ 2016-12-22 16:14   ` Dave Horsfall
  1 sibling, 0 replies; 8+ messages in thread
From: Dave Horsfall @ 2016-12-22 16:14 UTC (permalink / raw)


On Thu, 22 Dec 2016, Joerg Schilling wrote:

> Stephen Bourne after some time wrote a cron job that checked whether an 
> update in a binary also resulted in an updated man page and otherwise 
> removed the binary. This is why these programs have man pages.

An effective way of enforcing compliance :-)  I like it.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-23 10:27   ` Joerg Schilling
@ 2016-12-23 16:57     ` Clem Cole
  0 siblings, 0 replies; 8+ messages in thread
From: Clem Cole @ 2016-12-23 16:57 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]

below...

On Fri, Dec 23, 2016 at 5:27 AM, Joerg Schilling <schily at schily.net> wrote:

> Diomidis Spinellis <dds at aueb.gr> wrote:
>
> > On 23/12/2016 04:28, Doug McIlroy wrote:
> >  >> Does anyone remember whether at the time these were installed in the
> >  >> system-wide /bin directory,
> >  >
> >  > Those that I remember were in /usr/bin.
> >
> > So was "/usr/bin" initially only for user-contributed binaries, or was
> > it from its inception a place for binaries that were not essential for
> > system boot and could not fit in the root partition?
>
> From the talk from Stephen Bourne around 1990 at the Sun User Group
> meeting,
> /usr/bin started with user contributed binaries only.
>
> Later the directory was aquired by the system after many of the user
> contributed programs have been integrated into UNIX.

​Right - that follows what I had been told.   So /usr/local (for locally
compiled) and /usr/ucb (to differentiate from Research programs) were
introduced, which worked when UNIX was a source release.​

​Many makefiles in USENIX tapes use the /usr/local convention for new
programs but it failed to deal with binary distributions from ISV's ​




>
>
> At that time people started to use /usr/local and in order to interrupt
> this
> chain of bad naming, /opt/<vendor>/bin has been introduced.

​Almost right --- This was one of the things the /usr/group gave us.   IIRC
it was Heinz Lyclamia that proposed it BTW.   Before IEEE P1003 (aka POSIX)
the burgeoning industry folks started to talk about how to deal with the
plethora of almost, but not quite the same UNIX flavors.   The 1985
/usr/group API was the result (which would begat POSIX but that's a
different story).

Heinz was the pushing an ABI not an API.   He was sure UNIX would never be
able to compete with VMS or the like and get ISV's to the table without
one.  Two of the things he insisted that we consider was where to install
vendors code and /usr/opt/vendor was born (** /opt would come later **)​.
It was put in /usr because symlink did not yet exist AND people agreed that
the root file system should be as small as possible.

Clem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20161223/06ce5618/attachment-0001.html>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-23  9:37 ` Diomidis Spinellis
@ 2016-12-23 10:27   ` Joerg Schilling
  2016-12-23 16:57     ` Clem Cole
  0 siblings, 1 reply; 8+ messages in thread
From: Joerg Schilling @ 2016-12-23 10:27 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

Diomidis Spinellis <dds at aueb.gr> wrote:

> On 23/12/2016 04:28, Doug McIlroy wrote:
>  >> Does anyone remember whether at the time these were installed in the
>  >> system-wide /bin directory,
>  >
>  > Those that I remember were in /usr/bin.
>
> So was "/usr/bin" initially only for user-contributed binaries, or was 
> it from its inception a place for binaries that were not essential for 
> system boot and could not fit in the root partition?

From the talk from Stephen Bourne around 1990 at the Sun User Group meeting, 
/usr/bin started with user contributed binaries only.

Later the directory was aquired by the system after many of the user 
contributed programs have been integrated into UNIX.

At that time people started to use /usr/local and in order to interrupt this 
chain of bad naming, /opt/<vendor>/bin has been introduced.

Jörg

-- 
 EMail:joerg at schily.net                  (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
  2016-12-23  2:28 Doug McIlroy
@ 2016-12-23  9:37 ` Diomidis Spinellis
  2016-12-23 10:27   ` Joerg Schilling
  0 siblings, 1 reply; 8+ messages in thread
From: Diomidis Spinellis @ 2016-12-23  9:37 UTC (permalink / raw)


On 23/12/2016 04:28, Doug McIlroy wrote:
 >> Does anyone remember whether at the time these were installed in the
 >> system-wide /bin directory,
 >
 > Those that I remember were in /usr/bin.

So was "/usr/bin" initially only for user-contributed binaries, or was 
it from its inception a place for binaries that were not essential for 
system boot and could not fit in the root partition?

The second reason is the one that is popularly documented e.g.:

http://lists.busybox.net/pipermail/busybox/2010-December/074114.html
http://askubuntu.com/questions/130186/what-is-the-rationale-for-the-usr-directory




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [TUHS] User maintained programs in the Second Edition
@ 2016-12-23  2:28 Doug McIlroy
  2016-12-23  9:37 ` Diomidis Spinellis
  0 siblings, 1 reply; 8+ messages in thread
From: Doug McIlroy @ 2016-12-23  2:28 UTC (permalink / raw)


> Does anyone remember whether at the time these were installed in the
> system-wide /bin directory,

Those that I remember were in /usr/bin. 

Doug


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-23 16:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22  7:27 [TUHS] User maintained programs in the Second Edition Diomidis Spinellis
2016-12-22  9:22 ` Joerg Schilling
2016-12-22  9:28   ` SPC
2016-12-22 16:14   ` Dave Horsfall
2016-12-23  2:28 Doug McIlroy
2016-12-23  9:37 ` Diomidis Spinellis
2016-12-23 10:27   ` Joerg Schilling
2016-12-23 16:57     ` Clem Cole

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).