I have 2 scripts, script.sh
:
./mount.sh
and, mount.sh
:
mount /dev/sdb4 /mnt/mountpoint
script.sh
does some steps and invokes mount.sh
which mounts the disk that is sdb
. The mount.sh
script works fine, but, when invoked from the scripts.sh
script it fails to mount. I do not have the error messages, if any, from invoking mount.sh
from scripts.sh
. But, what possible reason could there be for that to fail?