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