Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
/ ehdd Public archive

A program for ejecting and shutdowning an ejectable storage device on a linux system.

License

Notifications You must be signed in to change notification settings

lakshayrohila/ehdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: THIS WAS A PROJECT THAT ALLOWED ME TO LEARN A LOT OF THINGS, SINCE I AM CURRENTLY STILL A BEGINNER, THOUGH IT COULD NOT EVOLVE INTO ANYTHING BUT A SIMPLE WRAPPER AROUND eject AND udisksctl COMMAND. I THINK IT IS BETTER DONE WITH SOME BASH OR ANY OTHER SCRIPT. THUS, I AM FINALLY ARCHIVING THIS PROJECT.

     _
    | |       |     |
 _  | |     __|   __|
|/  |/ \   /  |  /  |
|__/|   |_/\_/|_/\_/|_/

Overview

ehdd can be used for ejecting and shutdowning an ejectable storage device on a Linux system. The program makes use of the eject and udisksctl command, hence working as a wrapper around them, and in the way making it easier to perform each command.

Installation and Uninstallation

Read INSTALL.md for installation and uninstallation help.

Dependencies

Here are all the program dependencies:-

  1. eject command
  2. udiskctl command (most Linuxes will have package udisks2 for this)
  3. 'root access' (running the command as sudo ehdd ...)

In addition to these, if you're going to install the program using Method-2 (by compilation), you're going to need these programs installed as well:-

  1. gcc

Usage

ehdd can be used for ejecting and shutdowning an ejectable storage device on a Linux system. Please read HELP.md for more information.

Bug Reports and Contributions

Bugs can be reported / features can be asked for in the Issues section provided in GitHub.

In order to contribute code, you can create a fork of this repository, do modifications and then Create a pull request (Learn how to Create a pull request).

The code itself is tried to be well-commented and easily-readable so that everyone, who has the knowledge of, can understand and modify the code according to their needs; and if one wants to volunteer in developing ehdd, they can do so easily. README.dir files are created in most of the directories which explain the work done by the specific directory and files present in it.

Credits and Legal Information

ehdd is free and unencumbered software released under the terms of the MIT license. See LICENSE.md for license info.

For a list of contributors, see GitHub-Contributors.

All the releases are built using toolchains, which provides the compilers to build for different architecture targets, statically linking to musl libc.

The directory legal lists copyright notices of all the softwares used for development of ehdd.

The ASCII art logo at the top was made using FIGlet.

About

A program for ejecting and shutdowning an ejectable storage device on a linux system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published