isodrive: remove getprop depedency, allow switching cdrom and ro modes

This commit is contained in:
Marcel Alexandru Nitan
2023-02-04 15:48:32 +02:00
parent 428659298b
commit fe880c156f
6 changed files with 95 additions and 65 deletions
+12
View File
@@ -10,6 +10,10 @@
* `sudo make install` (optional)
usage:
* `isodrive {iso} {cdrom[0/1]} {readonly[1/0]}`
mount
* `sudo isodrive /full/path/to/file.iso`
@@ -18,5 +22,13 @@ umount
* `sudo isodrive`
mount (as cdrom)
* `sudo isodrive /full/path/to/file.iso 1 1`
mount (as read write)
* `sudo isodrive /full/path/to/file.iso 0 0`
Inspired by https://github.com/fredldotme/ISODriveUT