summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2025-06-07 22:56:05 -0500
committerunitexe <unitexe70@gmail.com>2025-06-07 22:56:05 -0500
commit741a15d4073546628491830d979a34df35ff44e8 (patch)
treec5711d6cdd46051e200e0b423cca002e73df2c8d
parente91fb1dc99e74daf21a31a8c75157629425e58a8 (diff)
Add mounting & umounting doc to README
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6247e70..f365183 100644
--- a/README.md
+++ b/README.md
@@ -37,3 +37,15 @@ Example output (device mounted):
]
}
```
+
+### Mount USB Device
+Replace IP address accordingly.
+```bash
+grpcurl -plaintext -import-path ./proto -proto ormos.proto -d '{"device_path": "/dev/sda1", "mount_point": "/mnt/usb"}' '10.0.0.42:50052' unit.containers.v0.Ormos.MountUsbDevice
+```
+
+### Unmount USB Device
+Replace IP address accordingly.
+```bash
+grpcurl -plaintext -import-path ./proto -proto ormos.proto -d '{"mount_point": "/mnt/usb"}' '10.0.0.42:50052' unit.containers.v0.Ormos.UnmountUsbDevice
+```