­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ # code to mount a file system # 130_mount_filesystem_code.sh contains the generic function 'mount_fs' # each distro may overrule the 'mount_fs' function with its proper way to do it # especially the case for btrfs related file systems mount_fs() { Log "Begin mount_fs( $@ )" local fs device mountpoint fstype uuid label attributes read fs device mountpoint fstype uuid label attributes < <(grep "^fs.* ${1#fs:} " "$LAYOUT_FILE") label=${label#label=} uuid=${uuid#uuid=} # Extract mount options: local attribute mountopts # An input line could look like this (an example from SLES12-SP1): # Format: fs [uuid=] [label=