rharmonson / cemkeylan-genfstab Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cemkeylan/genfstab
(almost) pure POSIX shell implementation of genfstab
Home Page: https://git.ckyln.com/genfstab
License: MIT License
This project forked from cemkeylan/genfstab
(almost) pure POSIX shell implementation of genfstab
Home Page: https://git.ckyln.com/genfstab
License: MIT License
GENFSTAB -------------------------------------------------------------------------------- Simplified POSIX sh implementation of the Arch Linux tool[1] with the same name. This implementation is almost pure shell, and it only depends on a few POSIX utilities. Keep note that this script makes use of files created by the kernel, and I have not tested this script outside of Linux. So, while the script itself is POSIX, it may not work outside of Linux. Pseudo-filesystem identification is better on this implementation for complex environments. Other than this, syntax and output is identical. If you are using a simple PC, you will probably not notice any difference. Installation -------------------------------------------------------------------------------- To install you can simply run 'make install' or without make, +--------------------------------------------------------------------------+ | $ mkdir -p /usr/local/bin /usr/local/share/man/man8 | | $ cp genfstab /usr/local/bin/genfstab | | $ cp genfstab.8 /usr/local/share/man/man8/genfstab.8 | | | | $ chmod 755 /usr/local/bin/genfstab | | $ chmod 644 /usr/local/share/man/man8/genfstab.8 | +--------------------------------------------------------------------------+ Usage -------------------------------------------------------------------------------- The syntax and usage of genfstab is the same as the Arch Linux tool. +--------------------------------------------------------------------------+ | # Simply add all mounted devices to fstab | | $ genfstab >> /etc/fstab | | | | # Only list mounted devices on /home | | $ genfstab -f /home >> /etc/fstab | | | | # Use /mnt as root | | $ genfstab /mnt >> /etc/fstab | | | | # Use PARTUUID identifiers | | $ genfstab -t PARTUUID >> /etc/fstab | +--------------------------------------------------------------------------+ See 'genfstab --help' or the genfstab manual page for more detailed information. References -------------------------------------------------------------------------------- [1]: https://github.com/archlinux/arch-install-scripts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.