Luke T. Shumaker
ea5b7c59e5
Add erofs support
2023-10-31 02:47:55 -06:00
Luke T. Shumaker
10074ec817
osi-mount: Tidy whitespace
2023-10-31 02:46:08 -06:00
Luke T. Shumaker
7a67f1a27c
osi-mount: Add the system protections for --root
2023-10-31 02:46:07 -06:00
Luke T. Shumaker
17ff65d2c3
Don't require to be run in this directory
2023-10-31 02:46:03 -06:00
Luke T. Shumaker
ea2aac2154
Define $EXIT_ constants to use instead of littering magic numbers
2023-10-30 12:37:42 -06:00
Luke T. Shumaker
227ab30f77
Change the --version text to say "osi-tools"
2023-10-30 12:37:42 -06:00
Luke T. Shumaker
b8ea69f8ee
osi-mount: Add more information to --help
2023-10-30 12:37:42 -06:00
Luke T. Shumaker
3048dfb7b7
osi-mount: Don't require root for --help or --version
2023-10-28 14:18:52 -06:00
Luke T. Shumaker
71f5da220c
Bump the VERSION numbers
2023-10-28 14:18:52 -06:00
Luke Shumaker
661a960195
copyright statements/identifiers
2018-08-18 14:42:42 -04:00
Luke Shumaker
540db8eef8
run osi stuff through shellcheck
...
Disable SC2064 because we use @Q rather than deferred expansion.
The only real issue found is adding `-r` to `read` in osi-shell.
2018-08-16 01:36:18 -04:00
Luke Shumaker
d4bbf0e2a4
osi-mount: Fixup option parsing
2018-08-14 16:54:09 -04:00
Luke Shumaker
291bd36a62
getopt doesn't safely "roundtrip" flags with an optional argument
2018-08-14 16:19:07 -04:00
Luke Shumaker
0e72442e94
osi-mount: Simplify
...
I think that a lot of the hacks are unnescessary and are fixed by the FSID
thing.
2018-08-14 16:08:32 -04:00
Luke Shumaker
ee05d5c7cc
f
2018-08-14 11:37:29 -04:00
Luke Shumaker
17a2f20f89
be careful about detaching loop devices
...
umount should do this automatically, but it seems to not always work
2018-08-13 02:55:40 -04:00
Luke Shumaker
6f8331937b
osi-mount: Better logging
2018-08-13 00:47:18 -04:00
Luke Shumaker
8d28968d71
osi-mount: rewrite
...
- Add real option parsing
- Split in to 2 distinct --root/--user modes
- Ensure we umount before exiting. Otherwise there might be a delay
between us exiting and the umount happening when the mount
namespace gets GC'd.
2018-08-12 23:53:58 -04:00
Luke Shumaker
6d472c31c8
fix
2018-08-11 17:38:08 -04:00
Luke Shumaker
4a5f7bda0e
pull osi-mount out in to a separate command
2018-08-11 17:23:12 -04:00