bin: mounting docs
This commit is contained in:
parent
334368a01f
commit
84af52658e
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Mount a partition by label or device identifier automatically
|
# Mount a partition by label or device identifier automatically
|
||||||
# Includes interactive selection if no argument is given
|
# Includes interactive selection if no argument is given
|
||||||
|
# TODO losetup for raw and qcow2, including lvm handling
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
_help="$0 <device> [mountpoint] [options...]"
|
_help="$0 <device> [mountpoint] [options...]"
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh
|
||||||
cd /mnt/nas
|
cd /mnt/nas
|
||||||
find -mindepth 1 -maxdepth 1 -exec mount {} \;
|
find -mindepth 1 -maxdepth 1 -exec mount {} \;
|
||||||
|
|
Loading…
Reference in New Issue