Slimelite BBS

Dev-Handler.lha

Back to sys

Un*x like raw device access handler+more

Size
23K (23,200 bytes)
Added
2026-11-20 17:29
Downloads
1
Long Description
------------------------------------------------------------------------------ New in 40.6: - the handler accepts now a sixth and 7th argument in the path that specify the sector count and the bytes per sector. In case at least the sector count is present, the handler no longer attempts to obtain the disk size by TD_GETGEOMETRY, which might have crashed some bad devices. ------------------------------------------------------------------------------ New in 40.5: - for some reasons unclear to me, the 40.4 seems to have never made it to Aminet, so this is a re-release. - Not many changes from 40.4, mostly cleanup and a better organization of the READ and WRITE implementations, plus a cleaner implementation of the file system inhibit function. ------------------------------------------------------------------------------ New in 40.4: - the handler will now try to disable the corresponding DOS device handler as long as it accesses the device itself. This will avoid some race conditions. This does not happen if you access the device by its exec device name. ------------------------------------------------------------------------------ New in 40.3: - due to permanent trouble with the NSD specifications, NSD support is now disabled if the NSDPatch isn't found active. This means that the NSDPatch would be even required in case all devices in the system would support NSD correctly. Call this a design bug of NSD. - Added the possibility to write-protect certain dos devices. The devices to be write-protected are specified by the "Control" entry in the mount list. See below for the specifications. - Found that the 64 multiplication of the Os - which is used by this device handler - is actually broken. Funny enough, the 68000 and 010 version is fine, the 68020 and up versions are broken, but are worked around by the device handler itself. This workaround broke the 68000 version. To complete the mess, the Os specifications will now be changed to continue support for the "broken" API. This release contains a temporary fix for the problem. Further SetPatch releases will contain this fix as well. Please install the patch for now, and replace it by a new version of SetPatch as soon as it appears. (That is, as soon as you install the Os 3.9.1 SetPatch, this issue will be fixed.) ------------------------------------------------------------------------------ New in 40.2.1: - included a fix for the statram.device which crashed on NSDQuery. - included "Extract", an Amiga lookalike of the Un*x "dd" program to copy or extract portions of files, propably sectors of a "special" file. ------------------------------------------------------------------------------ Purpose of this program: The DEV-Handler allows easy access to raw sectors of an exec type device under the dos.library environment. A typical application would be to use the "copy" command to make a full backup of a floppy to a file, or to use "copy" to make a backup of the RDB of your HD. The DEV-Handler is very powerful, but also very dangerous in the wrong hands because it modifies the device structure going down to the exec handler directly without using any kind of filing system access. This DEV-Handler replaces various other DEV-Handlers and improves and fixes many problems of these earlier releases. Note that no original code of these versions have been used, this handler is a complete rewrite. ------------------------------------------------------------------------------ Usage: A file name for the DEV-Handler is either a "DOS" device name like "df0" or "DH0" in which case this "file" indicates the full partition addressed by this name. For example, "DEV:df0" is the raw, unmapped first internal floppy drive, "DEV:dh0" the first harddisk partition. The start of the file using this syntax is always the start of the partition, the length of the file the full length of the partiti
SHA-256
4a2e52c3912e54cc5d7c98c48dbffd2df9c59be6ce12c348eda117744c8e57f0