Marcel Alexandru Nitan
|
b9f64576cc
|
Use configfs first if available, else try sysfs
|
2023-09-02 11:51:05 +03:00 |
|
Marcel Alexandru Nitan
|
82c4588e63
|
Show error when using -cdrom and -rw together
|
2023-09-02 11:48:20 +03:00 |
|
Marcel Alexandru Nitan
|
8066ce340d
|
Add option to switch between configfs and usb_gadget
|
2023-07-30 18:50:15 +03:00 |
|
Marcel Alexandru Nitan
|
3d78a129a7
|
Fix umount
|
2023-07-30 18:34:04 +03:00 |
|
Marcel Alexandru Nitan
|
56ce4095ae
|
Specify that cdrom and ro are supposed to not be set when using usb gadget
|
2023-07-30 01:18:27 +03:00 |
|
Marcel Alexandru Nitan
|
7a3c1979e6
|
Fix iso_drive comparation
|
2023-07-30 01:13:48 +03:00 |
|
Marcel Alexandru Nitan
|
88187197c4
|
Add usb gadget support
|
2023-07-29 13:04:11 +03:00 |
|
Marcel Alexandru Nitan
|
2bd53ff6c7
|
Add fallback when failing to parse arguments
|
2023-07-25 01:07:06 +03:00 |
|
Marcel Alexandru Nitan
|
832a2a98c8
|
Fix usage help message
|
2023-07-25 00:46:39 +03:00 |
|
Marcel Alexandru Nitan
|
a1a03c57f2
|
Conditionals should have curly brackets if parent or child ones have them
|
2023-06-02 08:46:08 +00:00 |
|
Marcel Alexandru Nitan
|
4034ffebdc
|
Umount is already done by default if no args are given
|
2023-06-02 08:44:37 +00:00 |
|
XeonDead
|
edf0d5fce5
|
isodrive: reroute unmount_iso to use mount_iso but with empty variables
|
2023-06-01 14:55:57 +03:00 |
|
XeonDead
|
ca08e35100
|
isodrive: add void umount_iso() to act in case of empty input
|
2023-06-01 13:34:22 +03:00 |
|
XeonDead
|
56b8356b64
|
isodrive: uncrustify code to google cpp writing style
|
2023-06-01 13:34:22 +03:00 |
|
XeonDead
|
49853f73e5
|
isodrive: remove old handling of argv
|
2023-06-01 12:48:34 +03:00 |
|
Marcel Alexandru Nitan
|
3b472d4928
|
Add simple argument parser
|
2023-05-24 11:00:31 +00:00 |
|
Marcel Alexandru Nitan
|
f546b3dfa7
|
Use stdio printf instead of iostream
|
2023-05-22 09:51:35 +00:00 |
|
Marcel Alexandru Nitan
|
c3df4d359a
|
configfs: add /config as an alternate mount point
|
2023-05-22 09:36:51 +00:00 |
|
Marcel Alexandru Nitan
|
ed265796e2
|
isodrive: fix weerors
|
2023-02-04 15:49:56 +02:00 |
|
Marcel Alexandru Nitan
|
fe880c156f
|
isodrive: remove getprop depedency, allow switching cdrom and ro modes
|
2023-02-04 15:48:32 +02:00 |
|
Marcel Alexandru Nitan
|
428659298b
|
util: fix reading sysfs
|
2023-02-01 13:51:03 +02:00 |
|
Nitan Alexandru Marcel
|
14e6e09bd4
|
configfsisomanager: add missing UDC sysfs read
|
2023-02-01 10:56:46 +00:00 |
|
Marcel Alexandru Nitan
|
00832c7f2f
|
isodrive: fix usb gadget
- correctly get gadget
- fix writing to sysfs
- allow umounting iso
|
2023-02-01 02:22:02 +02:00 |
|
Marcel Alexandru Nitan
|
7e6fa6b8cf
|
util: fix sysfs_write not writting to file
|
2023-01-31 22:24:35 +02:00 |
|
Marcel Alexandru Nitan
|
e2c8c51284
|
configfsisomanager: fix stallFile path
|
2023-01-31 21:35:24 +02:00 |
|
Marcel Alexandru Nitan
|
5833dd5dd9
|
util: report write errors in sysfs_write
|
2023-01-31 21:22:18 +02:00 |
|
Marcel Alexandru Nitan
|
28c95af44b
|
configfsisomanager: Don't use CD/DVD emulation
|
2023-01-31 21:01:50 +02:00 |
|
Marcel Alexandru Nitan
|
68cc01c473
|
util: fix sysfs_write
|
2023-01-31 20:59:42 +02:00 |
|
Marcel Alexandru Nitan
|
f55ca622aa
|
isodrive: first commit
|
2023-01-31 20:36:12 +02:00 |
|