Use configfs first if available, else try sysfs

This commit is contained in:
Marcel Alexandru Nitan
2023-09-02 11:51:05 +03:00
parent 82c4588e63
commit b9f64576cc
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -13,17 +13,17 @@
* `sudo make install` (optional)
## Usage
```bash
Usage:
isodrive [FILE]... [OPTION]...
Mounts the given FILE as a bootable device using configfs.
Run without any arguments to unmount any mounted files and display this help message.
Optional arguments:
-rw Mounts the file in read write mode.
-cdrom Mounts the file as a cdrom.
-configfs Forces the app to use configfs.
-usbgadget Forces the app to use usb_gadget.
-rw Mounts the file in read write mode.
-cdrom Mounts the file as a cdrom.
-configfs Forces the app to use configfs.
-usbgadget Forces the app to use sysfs.
```
### Examples