AminetAminet
Search:
85898 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

util/cli/nvman.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:A cli based non-volatile memory manager
Author:Gareth Smyth
Uploader:polluks+aminet sdf org (Stefan Haubenthal)
Type:util/cli
Version:0.3
Architecture:m68k-amigaos >= 3.1
Date:2026-11-20
URL:https://github.com/gareth-smyth/nvman
Download:util/cli/nvman.lha - View contents
Readme:util/cli/nvman.readme
Downloads:19

NVMAN

A cli based non-volatile memory manager for the Amiga built on top of nonvolatile.library.

Requirements

    vbcc (should be fine with other compilers)
    AmigaOS NDK 3.9 (setup correctly for VBCC)

Build

Just run make (tested on win32) or directly vc -c99 src/nvman.c src/commands.c src/utils.c -o nvman (tested on winuae)

Execution

    <param> is a required parameter.
    [param] is an optional parameter.
    Parameter order is significant.

    nvman list - Show non nonvolatile storage info and list all the apps and titles
    nvman delete <app_name> <title_name> [-f] - Delete the title, if unlocked. [-f] will unlock a locked title before deletion.
    nvman unlock <app_name> <title_name> - Unlock the title
    nvman lock <app_name> <title_name> - Lock the title
    nvman create <app_name> <title_name> [-f] - Create a new save with 10 bytes of dummy data. This will overwrite any unlocked title with the same app name and title. [-f] will force overwrite of existing locked title.
    nvman deleteall [-f] - Delete all unlocked titles in nvram. [-f] will force deletion of all titles by unlocking them if locked.
    TODO nvman dump <output file> - Dump the entire non volatile storage contents
    TODO nvman restore <input file> - Restore a previously dumped non volatile storage over the top of existing

TODO

    All the above commands
    Clean up code possibly adding tests
    Dump/restore individual app/title
    Interactive mode


Contents of util/cli/nvman.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6454   12120  53.3% -lh5- ffa3 Nov 20 00:49 nvman
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         1 file     6454   12120  53.3%            Nov 20 02:43
Page generated in 0.05 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>