Re: Remove SVR2 support from mountlist

2018-10-15 Thread Bruno Haible
Hi Tim,

> /tmp/df-nm.gz /tmp/df-truss.gz

Indeed, it opens "/etc/mnttab", reads from it, then calls statfs() on
each file system. It may also call sysfs(). So, that's really the SVR3
approach.

I couldn't believe it, but they haven't improved this functionality in
30 years, and are still selling this for money!

OK, so let's keep SVR3 support in, but remove SVR2 and the other listed
ones.

And also AIX for PS/2, which was last released in 1992 [1].

Bruno

[1] https://en.wikipedia.org/wiki/IBM_AIX#IBM_PS/2_series




Re: Remove SVR2 support from mountlist

2018-10-15 Thread Tim Rice

Hi Bruno,

/tmp/df-nm.gz /tmp/df-truss.gz

On Mon, 15 Oct 2018, Bruno Haible wrote:

{ Tim Rice wrote:
{ > Xinuos's latest release
{ > (last month) of the SCO OpenServer 5 product uses the SVR3.2 kernel also.
{ 
{ Can you determine which system calls the vendor 'df' program uses?
{ Through something like 'truss df' or 'nm /bin/df'. This should help find
{ out whether the methods encoded in mountlist.c and fsusage.c are still
{ up-to-date for this system.
{ 
{ Bruno

The only syscall I see is SI86GETFEATURES.
I've attached the nm and truss output (gziped) in case I've misunderstood
what you are asking for.

I had a look at mountlist.c and the
"#if defined MOUNTED_FREAD || defined MOUNTED_FREAD_FSTYP" section looks
just like what is needed for OpenServer 5.

-- 
Tim RiceMultitalents(707) 456-1146
t...@multitalents.net


df-nm.gz
Description: df-nm.gz


df-truss.gz
Description: df-truss.gz


Re: Remove SVR2 support from mountlist

2018-10-15 Thread Bruno Haible
Tim Rice wrote:
> Xinuos's latest release
> (last month) of the SCO OpenServer 5 product uses the SVR3.2 kernel also.

Can you determine which system calls the vendor 'df' program uses?
Through something like 'truss df' or 'nm /bin/df'. This should help find
out whether the methods encoded in mountlist.c and fsusage.c are still
up-to-date for this system.

Bruno




Re: Remove SVR2 support from mountlist

2018-10-15 Thread Tim Rice
On Mon, 15 Oct 2018, Bruno Haible wrote:

> I would propose to remove support for a couple of extremely old platforms
> as well:

> - SVR3 (released in 1987) and SVR2 (released in 1984) [5].

> [5] https://en.wikipedia.org/wiki/UNIX_System_V

Not mentioned in the wikipedia article is that Xinuos's latest release
(last month) of the SCO OpenServer 5 product uses the SVR3.2 kernel also.


-- 
Tim RiceMultitalents
t...@multitalents.net





Re: Remove SVR2 support from mountlist

2018-10-15 Thread Bruno Haible
Hi,

> A year ago (commit 467061a2014d742a27eb8d4498e8d09fb3225d53), the SVR2 support
> was removed from fsusage.
> 
> Should it be removed from mountlist either?

I would propose to remove support for a couple of extremely old platforms
as well:

- Cray/UNICOS 9. This was apparently released in 1996 [1] and still a 
portability
  target in 2005 [2].

- Ultrix. Last release was in 1995 [3]. A portability target up to 2005 [4].

- SVR3 (released in 1987) and SVR2 (released in 1984) [5].

- DolphinOS (a particular SVR3) [6].

- DECstation (defined decstation). Last released in 1994. [7]

- Dynix/ptx (defined _SEQUENT_, defined sequent). Released in 1992. [8]

- Sony NEWS (defined sony_news). Last released in 1993. [9]

- ardent (last released in 1988). [10]

- tek4300 (must have existed in 1988). [11]

- alliant (before 1992). [12]

- ConvexOS (defined convex). Last release before 1995. [13] GCC support removed
  in GCC 3.3 [14], i.e. in 2003.

- HP-UX on m68k (defined hp9000s300). Last released in 1991. [15]

In all modules (fsusage, mountlist, getloadavg in particular).

Bruno


[1] http://www.sdsc.edu/~victor/Work/checklist.html
[2] https://cray-cyber.org/old/systems/development.php
[3] https://en.wikipedia.org/wiki/Ultrix
[4] https://musall.de/mirrors/ultrix/freeware/starfish.osfn.org/ultrix/
[5] https://en.wikipedia.org/wiki/UNIX_System_V
[6] 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob;f=config.guess;h=b33c9e890e0c7c0acb1dbc9058f4be70e0a8f10f;hb=HEAD#l548
[7] https://en.wikipedia.org/wiki/DECstation
[8] https://en.wikipedia.org/wiki/DYNIX
[9] https://en.wikipedia.org/wiki/Sony_NEWS#NEWS-OS
[10] https://en.wikipedia.org/wiki/Stardent_Inc.#Ardent_Computer_Corporation
[11] 
http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=blob;f=src/m/tek4300.h;h=30ebbc7d36d584a8ea23e739f4fa7d0a3efeea38;hb=9ba7f85cde4c9f932ac714f465f119658f1f9d27
[12] https://en.wikipedia.org/wiki/Alliant_Computer_Systems
[13] https://en.wikipedia.org/wiki/Convex_Computer
[14] https://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Convex-Options.html
[15] https://en.wikipedia.org/wiki/HP_9000#Series_300/400