diff options
| author | unitexe <unitexe70@gmail.com> | 2025-06-07 22:56:05 -0500 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2025-06-07 22:56:05 -0500 |
| commit | 741a15d4073546628491830d979a34df35ff44e8 (patch) | |
| tree | c5711d6cdd46051e200e0b423cca002e73df2c8d /README.md | |
| parent | e91fb1dc99e74daf21a31a8c75157629425e58a8 (diff) | |
Add mounting & umounting doc to README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 +``` |
