Giter Site home page Giter Site logo

zm.linux's Introduction

zm is a simple Linux system for work, developed based on the Debian system. It compresses the entire system into a squashfs file and realizes read and write with unionfs. It has several main functions:

  • Install the system with one command. The installation medium can be a hard disk, USB flash drive, CD, etc. The entire system has only 4 files: kernel, initrd, root.sfs, home.sfs.
  • Support generating differential files, and the differential files are also compressed into squashfs files.
  • The top-level differential is stored in memory by default, so the startup and common software operations are very fast.
  • Comes with a backup system, which backs up the working directory as a squashfs file, and the backup file also supports differential.
  • Directly generate the disk image required by the virtual machine.

Parameters

The following parameters are used in the zm system:

  • sfsroot: The volume label of the system partition. It is recommended to be 20G.
  • work: The optional work partition volume label. It is used to mount /work, the working disk partition. The larger the better.
  • swap: The optional swap partition volume label. It is recommended to be 4G.
  • backup: The optional backup partition volume label. It is used to store backup projects. It is recommended to be 200G.

Commands

The following commands are available in the zm system:

  • zm: The main command for installing and managing the system.
  • zm install: Installs the system with one command. The installation medium can be a hard disk, USB flash drive, CD, etc.
  • zm update: Updates the system to the latest version.
  • zm backup: Backs up the working directory as a squashfs file. The backup file also supports differential.
  • zm restore: Restores the system from a backup file.
  • zm diff: Generates differential files, which are also compressed into squashfs files.
  • zm version: Shows the version of the zm system.
  • zm osname: Shows the name of the operating system.

Usage

To install the zm system, follow these steps:

  1. Download the zm file.
  2. Create a partition with the volume label sfsroot and format it as ext4.
  3. Create an optional work partition with the volume label work and format it as ext4.
  4. Create an optional swap partition with the volume label swap.
  5. Create an optional backup partition with the volume label backup.
  6. Run the command zm install and follow the prompts.

To update the zm system, run the command zm update.

To back up the working directory, run the command zm backup.

To restore the system from a backup file, run the command zm restore.

To generate differential files, run the command zm diff.

To show the version of the zm system, run the command zm version.

To show the name of the operating system, run the command zm osname.

Conclusion

The zm system is a simple and efficient Linux system for work, with easy installation and management. It is recommended for users who need a lightweight and fast system for their work.

zm.linux's People

Contributors

zeroman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.