Compare commits
2 Commits
0e531d8724
...
c6bfecd79c
Author | SHA1 | Date |
---|---|---|
Fierelier | c6bfecd79c | |
Fierelier | 74992d736a |
10
app/cmd/help
10
app/cmd/help
|
@ -1,19 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
cat << EOF
|
||||
Commands:
|
||||
* mountman list
|
||||
* mountman list [/dev]
|
||||
List known block devices.
|
||||
|
||||
* mountman plist [/path]
|
||||
* mountman plist [/dev]
|
||||
List known block device(s), with technical information, parseable with bash.
|
||||
|
||||
* mountman mount
|
||||
* mountman mount </dev>
|
||||
Mount block device, returns the mountpoint's path.
|
||||
|
||||
* mountman umount </path>
|
||||
* mountman umount </dev>
|
||||
Unmount block device.
|
||||
|
||||
* mountman eject </path>
|
||||
* mountman eject </dev>
|
||||
Eject block device, and shut it off, if possible.
|
||||
|
||||
Legend:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set +e
|
||||
bash "$APP_DIR/cmd/main" plist | while read mm_cmd; do
|
||||
bash "$APP_DIR/cmd/main" plist "$2" | while read mm_cmd; do
|
||||
eval "$mm_cmd"
|
||||
if ! [ "$mm_format" = "" ]; then
|
||||
echo "[$mm_label] $mm_size - $mm_path ($mm_type/$mm_format)"
|
||||
|
|
Loading…
Reference in New Issue