bugfix
parent
225642def5
commit
0b575ddd20
10
livekitlib
10
livekitlib
|
|
@ -297,14 +297,14 @@ device_bestfs()
|
||||||
|
|
||||||
|
|
||||||
# Filesystem options for mount
|
# Filesystem options for mount
|
||||||
# $1 = filesystem or '-t filesystem'
|
# $1.. = filesystem or '-t filesystem'
|
||||||
# returns also the $1 parameter back where appropriate
|
# returns also the $1.. parameter back where appropriate
|
||||||
#
|
#
|
||||||
fs_options()
|
fs_options()
|
||||||
{
|
{
|
||||||
debug_log "fs_options" "$*"
|
debug_log "fs_options" "$*"
|
||||||
local FS
|
local FS
|
||||||
FS="$1"
|
FS="$*"
|
||||||
|
|
||||||
if [ "$1" = "-t" ]; then
|
if [ "$1" = "-t" ]; then
|
||||||
shift
|
shift
|
||||||
|
|
@ -325,7 +325,7 @@ fs_options()
|
||||||
|
|
||||||
|
|
||||||
# Mount command for given filesystem
|
# Mount command for given filesystem
|
||||||
# $1 = filesystem or '-t filesystem'
|
# $1.. = filesystem or '-t filesystem'
|
||||||
#
|
#
|
||||||
mount_command()
|
mount_command()
|
||||||
{
|
{
|
||||||
|
|
@ -496,7 +496,7 @@ find_data_try()
|
||||||
{
|
{
|
||||||
debug_log "find_data_try" "$*"
|
debug_log "find_data_try" "$*"
|
||||||
|
|
||||||
local DEVICE FS FROM OPTIONS
|
local DEVICE FS FROM OPTIONS MOUNT
|
||||||
|
|
||||||
mkdir -p "$1"
|
mkdir -p "$1"
|
||||||
blkid | sort | cut -d: -f 1 | grep -E -v "/loop|/ram|/zram" | while read DEVICE; do
|
blkid | sort | cut -d: -f 1 | grep -E -v "/loop|/ram|/zram" | while read DEVICE; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue