Dosformat V1.0 by Manfred Klier DISCLAIMER ~~~~~~~~~~ This software is provided as-is. No warrenties whatsoever are given. The author accepts no responsibility for any damages that it may cause. Dosformat (and the source code) is Public Domain. MOTIVATION ~~~~~~~~~~ Are there several people fooling around on your AMIGA?? You have installed MultiUser?? Some of your users asked you, why they aren`t able to format their disks?? Here is the idea for solving this problem. Use some kind of formatting program which is only able to format floppy disks, like Olaf 'Olsen' Barthel's Formatter! But what about these non AMIGA-DOS formats like MSD*S or disks with 'DiskSpare.device' etc? Simply use the 'format' command, but give these users who wants to reformat your HD some restrictions ;-). REQUIREMENTS ~~~~~~~~~~~~ MultiUserFileSystem Release 1.5 +. The MultiUser package is a shareware filesystem for multiple users, which is a copyright of Geert Uytterhoeven. It can be obtained through anonymeous FTP (AmiNet.) While I am using GCC for compiling, you need at least ixemul.library V40+ for running the included binary. (This may change in future) DESCRIPTION ~~~~~~~~~~~ 'Dosformat' is a filter which passes only 'allowed' arguments to the format-command. Normally on a MultiUser system the format-command is only available for 'root'. 'Dosformat' makes this command available to all users with the restriction, only formatting floppy disks. The current Version supports MSD*S floppy disks only. But you can change this on your own demand. The syntax is: dosformat Where unitnumber is one of 0...3. This means you are able to format PC0: - PC3:. The source is written in ANSI-C except the function 'Execute()' which should be available on the most AMIGA C-compilers. INSTALLATION ~~~~~~~~~~~~ For security follow the steps described below: - copy 'dosformat' somewhere into your search path - make sure that it is owned by 'root' - set the protection bits: mprotect dosformat urwed group re other re ^ watch this!!! - make sure that your format command is in the search path and can be read and executed by 'root' only!!! HISTORY ~~~~~~~ First, I created .... oh sorry. Because this is a ten-minutes hack, there is no REAL history of this program.