bin: mounting docs

This commit is contained in:
xeruf 2023-11-07 10:56:27 +01:00
parent 334368a01f
commit 84af52658e
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 {} \;