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

disk/misc/DiskFlush.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Flush all filesystem buffers to disk
Author: davide.cutugno at gmail.com (Davide Cutugno)
Uploader:davide cutugno gmail com (Davide Cutugno)
Type:disk/misc
Version:1.0
Architecture:m68k-amigaos
Date:2025-05-18
Download:disk/misc/DiskFlush.lha - View contents
Readme:disk/misc/DiskFlush.readme
Downloads:13

                      ____  _     _     _____ _           _     
                     |  _ \(_)   | |   |  ___| |         | |    
                     | | | |_ ___| | __| |__ | |_   _ ___| |__  
                     | | | | / __| |/ /|  __|| | | | / __| '_ \ 
                     | |/ /| \__ \   < | |___| | |_| \__ \ | | |
                     |___/ |_|___/_|\_\|_|   |_|\__,_|___/_| |_|
                     =============================================
                                    Version 1.0
                              (c) 2025 Davide Cutugno


INTRODUCTION
===========================================================================

DiskFlush is a utility that ensures all filesystem buffers are written to
disk. It's especially useful before performing a fast reboot to prevent any
data loss from cached writes that haven't yet been committed to disk.

When the Amiga filesystem caches data, there's always a short delay before
it actually writes that data to physical media. DiskFlush forces an immediate
write of all cached data across all mounted volumes.


REQUIREMENTS
===========================================================================

- AmigaOS 2.0 or higher


INSTALLATION
===========================================================================

Simply copy DiskFlush to a location in your path, such as:
    C:      (System commands directory)
    SYS:Tools  (Common tools directory)
    

USAGE
===========================================================================

    DiskFlush [QUIET] [VERBOSE]
    
Options:
    QUIET   - Suppresses all progress messages
    VERBOSE - Displays detailed progress information for each operation


OPERATION
===========================================================================

DiskFlush performs the following operations for each mounted volume:

1. Sends ACTION_FLUSH packet to write all dirty buffers to disk
2. Sends ACTION_INHIBIT with DOSTRUE to perform disk driver update
3. Sends ACTION_INHIBIT with DOSFALSE to release the inhibition

This ensures a complete synchronization of all cached data with physical
media across all mounted drives in your system.


EXAMPLES
===========================================================================

Standard use (shows essential messages):
    DiskFlush
    
Silent operation (suppresses all messages):
    DiskFlush QUIET
    
Verbose operation with detailed messages:
    DiskFlush VERBOSE
    
Before reboot:
    DiskFlush
    reboot


HISTORY
===========================================================================

1.0 (16.5.2025)
- First public release


LEGAL
===========================================================================

Copyright © 2025 Davide Cutugno
All Rights Reserved.

This software is provided as-is, without any express or implied warranty.
In no event will the author be held liable for any damages arising from
the use of this software.

Permission is granted to anyone to use this software for any purpose,
except commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
   claim that you wrote the original software.
2. Altered versions must be plainly marked as such, and must not be
   misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution.


CONTACT
===========================================================================

For bug reports, suggestions, or other communications:

    Davide Cutugno

Thank you for using DiskFlush!


Contents of disk/misc/DiskFlush.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   6102    9520  64.1% -lh5- 07e3 May 18 17:27 DiskFlush
[Amiga]                   1448    3848  37.6% -lh5- 1cb6 May 18 17:51 DiskFlush.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    7550   13368  56.5%            May 18 23:15
Page generated in 0.05 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>