From 741a15d4073546628491830d979a34df35ff44e8 Mon Sep 17 00:00:00 2001 From: unitexe Date: Sat, 7 Jun 2025 22:56:05 -0500 Subject: Add mounting & umounting doc to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') 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 +``` -- cgit v1.2.3