Commit Graph

7 Commits

Author SHA1 Message Date
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