https://github.com/saann3/fstab-helper
TUI that can help manage /etc/fstab file
https://github.com/saann3/fstab-helper
fstab
Last synced: about 1 year ago
JSON representation
TUI that can help manage /etc/fstab file
- Host: GitHub
- URL: https://github.com/saann3/fstab-helper
- Owner: SAANN3
- Created: 2024-02-11T19:18:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T20:10:31.000Z (over 2 years ago)
- Last Synced: 2025-02-01T00:34:06.209Z (over 1 year ago)
- Topics: fstab
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fstab helper
Program written using ftxui that help's you manage|setup fstab file.
If you remove|edit some entries from fstab, they will be stored in /etc/fstab_bak , so all disabled device values are recovered and showed on next start(if corresponding device plugged)
Load order
1 read /etc/fstab_bak
2 read /etc/fstab
so values from /etc/fstab always overrides values from /etc/fstab_bak
### Screenshot
Screenshot of a program | what it wrote to /etc/fstab
:-------------------------:|:-------------------------:
 | 
## Installation
[Download](https://github.com/SAANN3/fstab-Helper/releases) a linux binary and then ```chmod +x fstabWrapper ``` it
## Usage
Because of writing into /etc/fstab , this program need to be run with root priveleges(sudo)
so run it with
```
sudo ./fstabWrapper
```
### Or if you prefer to compile from source
run script
```bash
git clone https://github.com/SAANN3/fstab-Helper
cd fstab-Helper
./build.sh
```
or write a little more commands
```bash
git clone https://github.com/SAANN3/fstab-Helper
cd fstab-Helper
mkdir build && cd build
cmake ..
make
```
and program will be placed in ``` ./build/fstabWrapper```