Skip to content

Shell-Script for fast mounting and unmounting of disks in Linux-based operating systems

License

Notifications You must be signed in to change notification settings

Andrew-Flame/mnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



[English] [Русский]

MNT

Description

'mnt' is a program that allows you to quickly mount and unmount disk devices in Linux-based operating systems. It will allow you to save a lot of time when mounting disks in systems with or without a graphical environment.

Usage

Everything you need to do to use 'mnt':

  1. Call the program from the terminal
  2. Mark the disks that should be mounted and uncheck those that you want to unmount
  3. Press the 'OK' button in the whiptail window or the 'Enter' key on the keyboard

It's incredibly simple and quick, and will also help you save a lot of time!

mnt

Installation

There is a ready-made script in the root directory of the repository that will install the program for you. You only need to run it and follow the instructions:

git clone https://github.com/Andrew-Flame/mnt.git
cd mnt
chmod +x install
./install

Dependencies

  • whiptail
  • sudo

Customization

'mnt' is a configurable program. Location of the configuration file ~/.config/mnt.ini You can configure:

  • The name of the folder where each disk will be mounted. Section '[associations]':
    [associations]
    Disk C = C
    Disk I = I
    Disk H = H
  • The display of disks in the dialog window. Section '[display]':
    [display]
    # Default: ON
    Disk C = OFF
    Disk I = ON
    Disk H = ON
  • Some other values. Section '[general]':
    [general]
    # The language in which the program will be output.
    language = 'en'
    
    # The directory where the disks will be mounted.
    mountpoint = '/mnt'

About

Shell-Script for fast mounting and unmounting of disks in Linux-based operating systems

Topics

Resources

License

Stars

Watchers

Forks

Languages