paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 03782d006c362138835000aa4ca475722a1951dd
parent f0e695058f0f08a38233534604b20e770a51a229
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 21 Dec 2019 02:12:10 -0500

Publish usrmnt project

Diffstat:
Mpages/home.md | 4++--
Mpages/projects.md | 4+++-
Apages/projects/usrmnt.md | 74++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpublic/feeds/projects-feed.xml | 9+++++++++
Mpublic/feeds/sitewide-feed.xml | 9+++++++++
5 files changed, 97 insertions(+), 3 deletions(-)

diff --git a/pages/home.md b/pages/home.md @@ -22,6 +22,8 @@ projects on the site. </a> </div> +2019-12-21 <a href="projects/usrmnt">New Project: usrmnt</a> + 2019-12-20 <a href="blog/difficulty-of-privacy-education">New Blog Post: The Difficulty of Educating People About Online Privacy</a> @@ -33,8 +35,6 @@ Command with Trash</a> 2019-11-02 <a href="blog/other-blogs">New Page: Blogroll — Check out some blogs from other cool people</a> -2019-09-05 <a href="toolset">New Page: My Toolset</a> - ### What is a Parity Bit? It is a bit (in the 1's and 0's sense) used in checking for errors in digital diff --git a/pages/projects.md b/pages/projects.md @@ -25,7 +25,9 @@ projects. However, I don't host any of my own repositories on there anymore. ### Projects <ul> - <li><a>usrmnt [WIP]</a></li> + <li><a href="projects/usrmnt">usrmnt</a>: A small utility to mount, unmount, + unlock, etc. your devices from the terminal with an intuitive command syntax + and using an intuitive text-based UI.</li> <li><a>home-backup [WIP]</a></li> <li><a>motd.sh [WIP]</a></li> </ul> diff --git a/pages/projects/usrmnt.md b/pages/projects/usrmnt.md @@ -0,0 +1,74 @@ +## usrmnt + +[//]: # "A small utility to mount, unmount, unlock, etc. your devices from the terminal with an intuitive command syntax and using an intuitive text-based UI." + +[//]: # "base.min.css" + +[//]: # "Screenshots; Download; Contributing; Manual" + +usrmnt is a small utility to mount, unmount, unlock, etc. your devices from the +command line using an intuitive text-based UI and using an intuitive text-based +UI. It is effectively a wrapper for udisksctl to make it more friendly to use. + +### Screenshots + +<img src="/img/projects/usrmnt/screenshot.png" alt="A screenshot of usrmnt in +action"/> + +### Download + +[Download](share/usrmnt) + +[Git Repository](https://git.sr.ht/~jbauer/tools-and-utilities/tree/master/usrmnt") + +As usual, I am open to any feedback, requests, bug reports, or contributions. + +### Contributing + +You can submit a ticket [using the todo web +interface](https://todo.sr.ht/~jbauer/usrmnt) or by [sending an +email](mailto:~jbauer/usrmnt@todo.sr.ht). You don't need a sourcehut account to +submit a ticket. + +I also accept contributions through email which you can learn how to do using +the [git-send-email.io website](https://git-send-email.io/). You can also submit +a patchset through the webpage of the repository. + +### Manual + +Simply run the script with no arguments: `usrmnt`. You will then be presented +with a listing of the currently recognized devices in your computer and a +command prompt. The details of that command prompt are detailed below: + +<pre><code>Options: + ls – List the currently recognized devices + q – Exit + v – Print the current version + ? – Print this help dialog + &lt;command&gt; &lt;device&gt; – Execute &lt;command&gt; on &lt;device&gt; where &lt;command&gt; is one of: + Supported udisks Commands: + mount – Mount a device to a mountpoint in /media. Will auto-unlock + encrypted drives. + unmount – Unmount a device (can also use \"umount\") + lock – Lock an unlocked encrypted device + unlock – Unlock an encrypted device without mounting it + info – Print device info + power-off – Power a device off (computer will stop recognizing it) + (can also use "poweroff") + Examples: + ()&gt;&gt;&gt; mount sdc1 + (sdc1)&gt;&gt;&gt; unmount sdb2 + (sdb2)&gt;&gt;&gt; unlock mmcblk0p1\n + + The device in parentheses is the device from the previous command. + When there is a device in parentheses, you can type any command without + specifying a device name and that command will act on the device in + parentheses. The device in parentheses is only updated when the previous + command completed successfully except if you are unlocking a device, it + exists, and you get the password wrong in which case it will still update + so you can just type "unlock". + + For example: + (sdb1)&gt;&gt;&gt; unmount + will unmount /dev/sdb1. +</code></pre> diff --git a/public/feeds/projects-feed.xml b/public/feeds/projects-feed.xml @@ -7,6 +7,15 @@ <description>The feed that covers all notable additions and updates to the Projects section of paritybit.ca. </description> <item> + <title>New Project: usrmnt</title> + <link>https://www.paritybit.ca/projects/usrmnt</link> + <guid>https://www.paritybit.ca/projects/usrmnt</guid> + <pubDate>Sat, 21 Dec 2019 07:10:00 +0000</pubDate> + <description>A small utility to mount, unmount, unlock, etc. your devices + from the terminal with an intuitive command syntax and using an + intuitive text-based UI.</description> +</item> +<item> <title>New Project: Morrowind Character Roller</title> <link>https://www.paritybit.ca/projects/morrowind-character-roller</link> <guid>https://www.paritybit.ca/projects/morrowind-character-roller</guid> diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml @@ -7,6 +7,15 @@ <description>The feed that covers all notable additions, updates, announcements, and other changes for the entire paritybit.ca website.</description> <item> + <title>New Project: usrmnt</title> + <link>https://www.paritybit.ca/projects/usrmnt</link> + <guid>https://www.paritybit.ca/projects/usrmnt</guid> + <pubDate>Sat, 21 Dec 2019 07:10:00 +0000</pubDate> + <description>A small utility to mount, unmount, unlock, etc. your devices + from the terminal with an intuitive command syntax and using an + intuitive text-based UI.</description> +</item> +<item> <title>New Blog Post: The Difficulty of Educating People About Online Privacy</title> <link>https://www.paritybit.ca/blog/difficulty-of-privacy-education</link> <guid>https://www.paritybit.ca/blog/difficulty-of-privacy-education</guid>