Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicciniamh/fstabedit
Linux Filesystem Table Edior
https://github.com/nicciniamh/fstabedit
linux python3 sysadmin-tasks system
Last synced: about 1 month ago
JSON representation
Linux Filesystem Table Edior
- Host: GitHub
- URL: https://github.com/nicciniamh/fstabedit
- Owner: nicciniamh
- Created: 2017-07-08T17:03:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T20:35:04.000Z (over 7 years ago)
- Last Synced: 2023-08-16T20:52:54.564Z (over 1 year ago)
- Topics: linux, python3, sysadmin-tasks, system
- Language: Shell
- Homepage:
- Size: 18.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-2.0.txt
Awesome Lists containing this project
README
|[TOC](docs/index.md)|[Overview](docs/overview.md)|[Main Window](docs/main.md)|[Entry Editor](docs/entryeditor.md)|[License](docs/license.md)|[About](docs/about.md)
-----------------------A system administration application for Linux that provides a GUI for editing the filesystem table in [/etc/fstab](http://man7.org/linux/man-pages/man5/fstab.5.html) that probes the system for all partitions by device, uuid, partition uuid, partition label and filesystem labels, known filesystem types, and presents controls based on the type of mount a person wants based on device, uuid, etc. making those entries easily editable. A drop down for common filesystem options makes adding some of the more common options a little easier.
This program is very linux specific. It might run on other *NIX systems but don't count on it and that mode of operation is unsupported.
See [program documentation](index.md) here.
# Requirements
**This is important!*** bash 4 or higher, [base64(1)](http://man7.org/linux/man-pages/man1/base64.1.html) and bzip2 for the installer.
* Python 2.6 or higher
* GTK3 and python3-pygobject3
* [blkid(8)](http://man7.org/linux/man-pages/man8/blkid.8.html)# Testing
This code is very new and might break things! Before testing **BACK UP SYSTEM FILES FIRST!**
When /etc/fstab is saved it will be backed up to /etc/fstab~
Worst case recovery is you have a backup file is boot from a live cd and mount your root filesystem. Replace the broken /etc/fstab with your backup.
In order to aid with testing, without destroying your system files, I have created a shell script that builds a chroot enviornment underwhich to perform testing. All system directories are included except /etc.
Create a directory to test in, then duplicate your /etc directory with:
cd ; tar cf - /etc | tar xf -
then run:
bash /testenv.sh
You may be prompted for your password when sudo(8) is run.
# Acknowldgements
This application was developed extensive use of Google, Stack Exchange for help and inspiration. Coding was done using Sublime Text, on Linux Mint 18.2 Sonya.
Props to my family for hearing me swear at code and dive so deep into coding I ingore everying else.