Commit Graph

19 Commits

Author SHA1 Message Date
Anomalocaridid 80bbf76b5b nmount: add support for luks volumes for udisksctl 2023-07-09 19:57:57 -04:00
Anomalocaridid 280068c5da nmount: make pmount optional 2023-07-08 19:55:07 -04:00
8B411 a51437ff16
Miscellaneous improvements to nmount plugin (#1547)
* plugins/nmount: keep `while` & `do` on one line for consistency

* plugins/nmount: sync only that device, which user wants to unmount

* plugins/nmount: replace all instances of `$dev` with `/dev/$dev`

* plugins/nmount: add `--no-user-interaction` option to `udisksctl`

Otherwise the user will be asked for authentication each time he wants
to unmount, say, HDD, since `udisksctl` will try to power it off.

* plugins/nmount: try to mount only existing block devices

* plugins/nmount: do not invoke `lsblk` immediately after mounting

Sometimes `lsblk` fails to provide mountpoint in such a short time frame.

* plugins/nmount: simplify pipe

* plugins/nmount: keep `echo` arguments in a single pair of quotes

* plugins/nmount: report mountpoint only if mounting was successful
2022-12-21 23:14:28 +05:30
Arun Prakash Jana 6d817a41e3
Update documentation 2021-05-30 23:29:10 +05:30
Arun Prakash Jana 5e8ef070dc
Sanitize in-plugin documentation 2021-05-15 23:02:01 +05:30
freddii 50386ff511 fixed wrong spelled words 2021-01-18 13:55:28 +01:00
Arun Prakash Jana a7fd4957dd
shellcheck fixes 2020-11-22 20:30:52 +05:30
Arun Prakash Jana ca7405311f
Force undetachable edits in EDITOR 2019-11-24 01:54:06 +05:30
Arun Prakash Jana 1cca9e4b72
shellcheck fixes 2019-11-22 11:13:34 +05:30
Arun Prakash Jana 23f84df1d8
Supprt exit on 'q' 2019-06-10 19:47:00 +05:30
Arun Prakash Jana dd42726c5b
More intuitive nmount 2019-06-05 17:06:20 +05:30
Arun Prakash Jana 9ba3cb3e9b
Update plugins, add mutool to view PDF 2019-06-01 00:34:07 +05:30
Arun Prakash Jana f02e0d359f
Add OS-specific alternative notes 2019-05-26 16:52:00 +05:30
Arun Prakash Jana 7bf671c954
Show usage warning 2019-05-25 11:47:56 +05:30
Arun Prakash Jana 747490a180
Run nmount in a loop 2019-05-22 08:44:19 +05:30
Arun Prakash Jana 0e8cb05045
sync data before ejecting drives 2019-05-22 08:44:19 +05:30
Arun Prakash Jana cefc4b08a7
Update nmount, troubleshooting 2019-04-25 22:10:10 +05:30
Arun Prakash Jana bd2831498c Fix nmount on blank entry 2019-04-21 12:14:03 +05:30
Arun Prakash Jana 430945d420
Plugin nmount: toggle mount status of a device 2019-04-19 00:25:07 +05:30