AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/shutdown.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Shutdown command
Author:fasten at shw.com (Bernhard Fastenrath)
Uploader:fasten shw com (Bernhard Fastenrath)
Type:util/libs
Version:5.3
Architecture:m68k-amigaos
Date:1998-09-14
Download:http://aminet.net/util/libs/shutdown.lha - View contents
Readme:http://aminet.net/util/libs/shutdown.readme
Downloads:758

Changes since 5.2:
- Added a new program testfs which allows to identify handlers which
  are incompatible with shutdown.
  testfs prints a list of all handlers and if they are filesystems
  or not. If a handler doesn't react at all testfs will hang.
  The same happens to shutdown when it tries to unmount filesystems.
Changes since 5.1:
- minor changes.
Changes since 5.0:
- GCC support fixed (thanks to Gunther Nikl for the bug report).
Changes since 4.1:
- Incompatible change to the message format (due to changes in queue.library).
  Out of date clients will simply refuse messages.
  Out of date servers (the shutdown command) will make clients report
  a random shutdown time (reading illegal memory addresses).
- Compiled with SAS/C 6.57.
Changes since 4.0:
- Applications can delay the shutdown now (see src/delay.c).
Changes since 3.0:
- unmount.c rewritten to send ACTION_INHIBIT to all filesystems at the
  same time (instead of sequentially).
- compiled with SAS/C instead of GCC (which makes it a bit smaller).

The Amiga's lack of a shutdown mechanism is probably based on the assumption
that the user is always the direct cause of disk access or at least aware of
the fact that the disks might be accessed at a certain point.
Unfortunately this is obviously not true for BBS systems or Amigas connected
to a LAN or in some other way running in a multiuser environment. It is also
not true for Amigas acting as servers or Amigas doing longer calculations
(e.g. rendering) in the absence of a console user. There's also still the
small chance that the user thinks the disks are idle and it's safe to turn of
the system and a background program chooses this moment to start disk activity.

ResetHandler (AmiNet://util/cdity/ResetHandler.lha) executes
s:shutdown-sequence after a keyboard reset. If you want to call shutdown
from s:shutdown-sequence make sure to use the "-i" option to shut down
as fast as possible.

This shutdown command requires queue.library (which is included). The full
archive is AmiNet:util/libs/queue.lzh. It can be used with but does not
require shutdown.library (AmiNet:util/boot/Shutdown2_0.lha). The original
shutdown.library was written by Olaf Barthel (olsen at sourcery.han.de).
A small library which is compatible with Olaf's shutdown.library is included.
This is not an update to the original shutdown.library but a full update
might follow.


Contents of util/libs/shutdown.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6620   10512  63.0% -lh5- 123c Sep 12  1998 shutdown_5.3/bin/sdwarn
[generic]                 8053   13120  61.4% -lh5- d040 Sep 12  1998 shutdown_5.3/bin/shutdown
[generic]                 4433    6600  67.2% -lh5- 9c41 Sep 12  1998 shutdown_5.3/bin/testfs
[generic]                  330    1069  30.9% -lh5- cc5b Sep 12  1998 shutdown_5.3/doc/REGISTRATION
[generic]                10710   28987  36.9% -lh5- 008d Sep 12  1998 shutdown_5.3/doc/shutdown.guide
[generic]                 1596    2836  56.3% -lh5- 3aae Sep 12  1998 shutdown_5.3/libs/queue.library
[generic]                  898    1456  61.7% -lh5- fae5 Sep 12  1998 shutdown_5.3/libs/shutdown.library
[generic]                 1222    2543  48.1% -lh5- 11b4 Sep 12  1998 shutdown_5.3/shutdown.readme
[generic]                  749    1807  41.4% -lh5- 7668 Sep 12  1998 shutdown_5.3/src/delay.c
[generic]                  231     434  53.2% -lh5- 021f Sep 12  1998 shutdown_5.3/src/makefile
[generic]                  295     462  63.9% -lh5- 9858 Nov 28  1996 shutdown_5.3/src/queue/queue.fd
[generic]                  463     898  51.6% -lh5- cfe5 Nov 28  1996 shutdown_5.3/src/queue/queue.h
[generic]                  417    1241  33.6% -lh5- 8e47 Nov 28  1996 shutdown_5.3/src/queue/queue_inline.h
[generic]                  292     643  45.4% -lh5- 466b Nov 28  1996 shutdown_5.3/src/queue/queue_pragmas.h
[generic]                  940    2211  42.5% -lh5- 6e2a Nov 28  1996 shutdown_5.3/src/queue/shutdown.h
[generic]                 2296    6618  34.7% -lh5- ce71 Sep 12  1998 shutdown_5.3/src/sdwarn.c
[generic]                 4151   13643  30.4% -lh5- 23fe Sep 12  1998 shutdown_5.3/src/shutdown.c
[generic]                  405     938  43.2% -lh5- 4eef Sep 12  1998 shutdown_5.3/src/shutdown_cmd.h
[generic]                  280     467  60.0% -lh5- b927 Dec  4  1996 shutdown_5.3/src/shutdown_lib/makefile
[generic]                 1297    2392  54.2% -lh5- ae8a Dec  4  1996 shutdown_5.3/src/shutdown_lib/shutdown.library
[generic]                  393     938  41.9% -lh5- 1dc8 Dec  3  1996 shutdown_5.3/src/shutdown_lib/shutdown_inline.h
[generic]                  129     176  73.3% -lh5- 1789 Jan 13  1996 shutdown_5.3/src/shutdown_lib/shutdown_lib.fd
[generic]                 1729    4934  35.0% -lh5- a952 Dec  4  1996 shutdown_5.3/src/shutdown_lib/shutdown_library.c
[generic]                  110     210  52.4% -lh5- 5170 Sep 22  1996 shutdown_5.3/src/shutdown_lib/shutdown_pragma.h
[generic]                  322     697  46.2% -lh5- 99df Dec  3  1996 shutdown_5.3/src/shutdown_lib/shutdownbase.h
[generic]                  208     371  56.1% -lh5- d892 Sep 22  1996 shutdown_5.3/src/shutdown_lib/smakefile
[generic]                  220     457  48.1% -lh5- 59b0 Sep 12  1998 shutdown_5.3/src/smakefile
[generic]                 1478    4235  34.9% -lh5- 63d4 Sep 12  1998 shutdown_5.3/src/testfs.c
[generic]                 1511    4549  33.2% -lh5- 0591 Sep 12  1998 shutdown_5.3/src/unmount.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        29 files   51778  115444  44.9%            Sep 14  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>