The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] UNIX of choice these days?
@ 2017-09-25 12:07 Norman Wilson
  2017-09-25 14:16 ` Clem Cole
  0 siblings, 1 reply; 110+ messages in thread
From: Norman Wilson @ 2017-09-25 12:07 UTC (permalink / raw)


Larry McVoy:
> +1 on what Ron said.  I don't get the rationale for going back to ptrace.
> Anyone know what it is?  Is there a perf issue?

Kurt H Maier:

  The usual rationale presented is that someone can exhaust the fd table
  and then you can't get anything done.  Instead of fixing that problem,
  the popular approach is to add more syscalls, like with getrandom(2).

====

Funny that that rationale isn't extended to its logical
conclusion: get rid of open and creat.  Then nobody needs
to worry about running out of file descriptors ever!

I too am saddened to see such a retrograde step, but perhaps
I'm biased.  When I arrived in 1127, the kernel had /proc but
still had ptrace as well.  Why?  Because no one was brave enough
to wade into sdb and adb.

After a couple of years, I felt brave enough, so I did it.
Once the revised sdb and adb had propagated to all our systems,
I removed the syscall.  I celebrated by physically removing
ptrace(2) from the Eighth Edition manual in the UNIX room: the
manual entry comprised two facing pages, which I glued together.

I can sympathize with FreeBSD excuse someone cited elsewhere,
that nobody used the code so it should go--I'm always in favour
of improving programs by chopping sutff out--but I think the
decision here was backwards.  The proper answer would have been
to teach ps et al to use /proc, not to invent a new complex of
system calls.

I dislike how Linux has tossed information about processes and
other system-related data into the same namespace (and now that
there is /sys as well as /proc, I wonder whether it's time to
divorce them, or even to move /proc into /sys/proc), but the
general direction of moving things into the file system makes
sense.  I have some qualms about adding more and more code to
the kernel that just does string processing (making the kernel
bigger and more complicated, and widening the attack surface
for bad guys), though; maybe most of that stuff belongs not in
the OS proper but in a user-mode program that reads /dev/mem
and presents as a file system.

Norman Wilson
Toronto ON



^ permalink raw reply	[flat|nested] 110+ messages in thread
* [TUHS] UNIX of choice these days?
@ 2017-09-30 15:17 Norman Wilson
  2017-09-30 20:29 ` Kevin Bowling
  0 siblings, 1 reply; 110+ messages in thread
From: Norman Wilson @ 2017-09-30 15:17 UTC (permalink / raw)


Warner Losh:

  It's an abundance of caution thing. This code had security problems in the
  past, we're not 100% sure that we've killed all the issues, though we
  believe we have.

====

And if there isn't anyone who's actively interested in the
code, willing to dig in to clean it up and make security
issues less likely, deal with multiprocessing matters, and
so on, that's a perfectly reasonable stance.

I think it's an unfortunate result, and I wonder how much
of it comes from a cultural view that sysctl >> /proc.
(Recall how Ken and Dennis originally resisted Doug's push
for pipelines and filters, because--as Dennis once put it
in a talk--it just wasn't the way programs worked?)

But as someone who is sometimes credited with removing
more code than he wrote while working on the latter-day
Research kernel, it's hard for me to argue with the principle.
A lot of the code I tossed out was complicated stuff that
was barely used if used at all, and that nobody was willing
to step up to volunteer to maintain.

Norman Wilson
Toronto ON


^ permalink raw reply	[flat|nested] 110+ messages in thread
* [TUHS] Unix of choice these days?
@ 2017-09-25 12:46 Doug McIlroy
  2017-09-25 13:57 ` Clem Cole
  0 siblings, 1 reply; 110+ messages in thread
From: Doug McIlroy @ 2017-09-25 12:46 UTC (permalink / raw)



>>  "Bah. That's just some goof-ball research toy."

> I feel like the same thing was said about Unix at some point very early
in it's history.

Amusingly the IT department of AT&T felt that way and commissioned a
Harvard prof, no less, to write a report about why VMS was the way to
go on Vaxen. The hired gun (so much for academic integrity) addressed
the subject almost entirely with meta arguments:

(1) VMS was written by OS professionals; Unix was a lab experiment.

(2) One could count on support from DEC, not from Research. (So
much for USG; as far as i know the author never asked anyone in]
Bell Labs about anything.)

(3) And the real killer: VMS was clearly far advanced, witness 
its shelf of manuals vs the thin Unix volumes that fit in one's
briefcase. Lee McMahon had particular fun with this one in a
rebuttal that unleashed the full power of his Jesuit training
in analytic debate.

Doug



^ permalink raw reply	[flat|nested] 110+ messages in thread
* [TUHS] UNIX of choice these days?
@ 2017-09-23 23:39 Nelson H. F. Beebe
  0 siblings, 0 replies; 110+ messages in thread
From: Nelson H. F. Beebe @ 2017-09-23 23:39 UTC (permalink / raw)


Dario Niedermann <dario at darioniedermann.it> wrote on Sat, 23 Sep 2017
11:17:04 +0200:

>> I just can't forgive FreeBSD for abandoning the proc filesystem  ...

It can be there, if you wish.

Here are two snippets from a recent log of a recent "pkg update -f ;
pkg upgrade" run on a one of my many *BSD family systems, this one
running FreeBSD 11.1-RELEASE-p1:

	Message from openjdk8-8.131.11:
	======================================================================

	This OpenJDK implementation requires fdescfs(5) mounted on
	/dev/fd and procfs(5) mounted on /proc.

	If you have not done it yet, please do the following:

		mount -t fdescfs fdesc /dev/fd mount -t procfs proc
		/proc

	To make it permanent, you need the following lines in
	/etc/fstab:

		fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0

	======================================================================

	Message from rust-1.18.0:
	======================================================================

	Printing Rust backtraces requires procfs(5) mounted on /proc .
	If you have not already done so, please do the following:

		mount -t procfs proc /proc

	To make it permanent, you need the following lines in /etc/fstab:

		proc    /proc           procfs          rw      0       0

	======================================================================

I've seen such messages in many package installations in the *BSD
family, and I generally add the suggested lines to /etc/fstab.

Perhaps others more familiar with BSD internals might comment on
whether it is many non-BSD software, like the Java Developer's Kit,
and Mozilla's rust language, that mostly would like /proc support, or
whether there are plenty of native-BSD packages that expect it too.

The second edition of

	Marshall Kirk McKusick, George V. Neville-Neil, and Robert N. M. Watson
	The Design and Implementation of the FreeBSD Operating System
	ISBN 0-201-70245-2 (hardcover), 0-321-96897-2 (hardcover)

has 5 pages with mention of the /proc filesystem, and nothing that
suggests that it is in any way deprecated.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 110+ messages in thread
* [TUHS]  UNIX of choice these days?
@ 2017-09-21  2:28 Rudi Blom
  0 siblings, 0 replies; 110+ messages in thread
From: Rudi Blom @ 2017-09-21  2:28 UTC (permalink / raw)


Maybe I'm the odd one out here, but at home I've only got a Windows/10
notebook :-)

Mind you, at work I play with
. aDEC 400xP, DECpc MTE, Prioris XL server running SCO UNIX 3.2V4.2
. AlphaServer DS10 running Digital Unix 4.0g
. AlphaServer DS15 running Tru64 Unix 5.1B
. HP(E) rx-servers rx1620, rx2620, rx2660 running HP-UX 11.23
. HP(E) rx-servers rx2800 i2/i4 running HP-UX 11.31
. DOS 6.22, Windows/Xp, Windows/7 clients

Maintaining applications which were conceived late 80s is fun :-)


^ permalink raw reply	[flat|nested] 110+ messages in thread
* [TUHS] UNIX of choice these days?
@ 2017-09-20  0:12 Arthur Krewat
  2017-09-20  0:26 ` Larry McVoy
                   ` (13 more replies)
  0 siblings, 14 replies; 110+ messages in thread
From: Arthur Krewat @ 2017-09-20  0:12 UTC (permalink / raw)


What's your UNIX of choice to do normal "real" things these days?

Home file server (NAS), business stuff, develop code, whatever.

Mine is Solaris 11.3 at this point. Oracle has provided almost all the 
"normal" utilities that are used by Linux folk, and it runs on Intel 
hardware rather well. My main storage is a raidz2 of 24TB and I get 
1.2GB/sec to a bunch of 3TB 512-byte-sector SAS drives.

It serves my vmware farm with iSCSI at 10gbe using COMSTAR, which also 
houses a bunch of Solaris 11 guests that perform various chores. It also 
houses some Linux and Windows guests for prototyping/testing. It's also 
my Samba server, servicing a few Windows workstations.

This is all in my home office where I do all my personal/professional work.

What do you all use for day-to-day development and general playing 
around with new stuff?

AAK


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

end of thread, other threads:[~2017-09-30 22:37 UTC | newest]

Thread overview: 110+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 12:07 [TUHS] UNIX of choice these days? Norman Wilson
2017-09-25 14:16 ` Clem Cole
2017-09-25 15:13   ` Warner Losh
2017-09-25 16:51     ` Warner Losh
2017-09-26  0:56       ` ron minnich
2017-09-25 15:18   ` Larry McVoy
2017-09-25 15:30     ` Warner Losh
2017-09-25 23:49     ` Dave Horsfall
2017-09-26  2:06       ` Chet Ramey
2017-09-26 14:53         ` Larry McVoy
2017-09-26 15:17           ` Chet Ramey
2017-09-26 21:23           ` Dave Horsfall
2017-09-26 21:43             ` Arthur Krewat
2017-09-26 21:45             ` Grant Taylor
2017-09-27  0:58               ` Dave Horsfall
2017-09-27  1:37                 ` Chet Ramey
2017-09-27  2:02                   ` Larry McVoy
2017-09-27 13:50                     ` Chet Ramey
2017-09-27 14:17                       ` Larry McVoy
2017-09-28  8:10                         ` Derek Fawcus
2017-09-28 12:34                           ` Chet Ramey
     [not found]                             ` <20170928174420.GA41732@accordion.employees.org>
2017-09-28 17:57                               ` Derek Fawcus
2017-09-28 18:04                                 ` Chet Ramey
2017-09-27  3:42                   ` Dave Horsfall
2017-09-27 14:35                     ` Chet Ramey
  -- strict thread matches above, loose matches on Subject: below --
2017-09-30 15:17 Norman Wilson
2017-09-30 20:29 ` Kevin Bowling
2017-09-30 21:56   ` Bakul Shah
2017-09-30 22:37     ` Kevin Bowling
2017-09-25 12:46 [TUHS] Unix " Doug McIlroy
2017-09-25 13:57 ` Clem Cole
2017-09-23 23:39 [TUHS] UNIX " Nelson H. F. Beebe
2017-09-21  2:28 Rudi Blom
2017-09-20  0:12 Arthur Krewat
2017-09-20  0:26 ` Larry McVoy
2017-09-20  0:39 ` Dave Horsfall
2017-09-20  1:03   ` Lyndon Nerenberg
2017-09-20 20:56     ` jason-tuhs
2017-09-23  9:17   ` Dario Niedermann
2017-09-23  9:36     ` Steve Mynott
2017-09-23 10:03       ` Dario Niedermann
2017-09-23 23:04         ` Dave Horsfall
2017-09-24  0:11           ` Random832
2017-09-24  1:19             ` Dave Horsfall
2017-09-24 13:46       ` Andy Kosela
2017-09-24 14:02         ` ron minnich
2017-09-24 14:06           ` Larry McVoy
2017-09-24 20:36             ` Kurt H Maier
2017-09-24 21:38               ` Bakul Shah
2017-09-24 23:36                 ` Dave Horsfall
2017-09-24 23:50                   ` Steve Nickolas
2017-09-25  0:03                     ` Wesley Parish
2017-09-25 15:36                       ` Tony Finch
2017-09-26  0:42                         ` Wesley Parish
2017-09-26  9:54                           ` Tony Finch
2017-09-26 14:41                           ` Larry McVoy
2017-09-26 17:34                             ` Bakul Shah
2017-09-26 17:39                               ` Warner Losh
2017-09-26 18:26                                 ` Bakul Shah
2017-09-26 17:43                               ` Larry McVoy
2017-09-26 19:44                                 ` Grant Taylor
2017-09-26 23:22                             ` Wesley Parish
2017-09-25  0:51                     ` Charles Anthony
2017-09-25  0:36                   ` Dan Cross
2017-09-25  0:44                     ` Grant Taylor
2017-09-25  0:56                   ` Bakul Shah
2017-09-25 15:45                     ` Tony Finch
2017-09-25 16:14                       ` Bakul Shah
2017-09-25  7:41                   ` Andy Kosela
2017-09-25  7:43                     ` Cory Smelosky
2017-09-25 10:14                       ` Andy Kosela
2017-09-25  9:58                     ` Steve Nickolas
2017-09-25 11:14                       ` Derek Fawcus
2017-09-25 11:48                       ` Andrew Warkentin
2017-09-24 15:26           ` Christian Barthel
2017-09-24 17:33             ` Clem Cole
2017-09-24 17:33           ` Clem Cole
2017-09-23 23:00     ` Dave Horsfall
2017-09-26 22:00     ` Christian Groessler
2017-09-20  4:42 ` Grant Taylor
2017-09-20  8:31   ` Mutiny 
2017-09-20  9:15 ` Steve Nickolas
2017-09-20 16:58   ` Arthur Krewat
2017-09-20 17:05     ` Steve Nickolas
2017-09-20 17:53     ` Henry Bent
2017-09-20 18:12       ` Arthur Krewat
2017-09-20 18:33         ` Brad Spencer
2017-09-20 19:20           ` Henry Bent
2017-09-20 19:37           ` Arthur Krewat
2017-09-20 19:58             ` Jacob Ritorto
2017-09-20 22:29               ` Ian Zimmerman
2017-09-20 22:31                 ` Warner Losh
2017-09-20 12:52 ` Chet Ramey
2017-09-20 13:33 ` Nemo
2017-09-20 15:39 ` Clem Cole
2017-09-20 15:42 ` Jon Steinhart
2017-09-20 16:58   ` Ian Zimmerman
2017-09-20 17:09     ` Jon Steinhart
2017-09-20 17:31     ` Arthur Krewat
2017-09-20 22:40 ` Steve Simon
2017-09-20 22:51   ` Erik Berls
2017-09-20 23:37 ` Robert Brockway
2017-09-21  1:47 ` Derrik Walker v2.0
2017-09-21  3:54 ` Gregg Levine
2017-09-21 14:33 ` Nicholas Chappell
2017-09-21 16:38   ` Mutiny 
2017-09-21 16:42     ` gilbertmm
2017-09-21 18:30     ` Grant Taylor
2017-09-21 23:34     ` Dave Horsfall
2017-09-25 10:36 ` Thomas Kellar

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