Code Monkey home page Code Monkey logo

fstabedit's Introduction

A system administration application for Linux that provides a GUI for editing the filesystem table in /etc/fstab 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 here.

Requirements

This is important!

  • bash 4 or higher, base64(1) and bzip2 for the installer.
  • Python 2.6 or higher
  • GTK3 and python3-pygobject3
  • blkid(8)

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 <test-environment-dir> ; tar cf - /etc | tar xf -

then run:

bash <path-to-script>/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.

fstabedit's People

Contributors

nicciniamh avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

fstabedit's Issues

Older systems

Older systems do not support modern tools.

A friend has been trying to install on CentOS 6 and CentOS 7. These systems do not seem to work;.
* No support for Python 3
* No Support for GTK3 through GObject Introspection for Python3 if installed python3 is installed from from epel.
* On CentOS 6 the install.sh doesn' work either due to the lack of -g flag in the declare statement.

I can make the installer work but the rest is sketchy. Python3 not being supported by Red Hat seems a bit obtuse. Python 2's end of life is in less than 2 years.

Gtk 3.0 required.

This isn't a bug per se but it would be nice if I can make the code work with Gtk3
I am working on some changes to use python 2.6+ with the use of future

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.