Bash don't interpret ~ path with multiple options.
From:
Jungsub Shin
Subject:
Bash don't interpret ~ path with multiple options.
Date:
Sun, 3 Jun 2018 11:08:15 +0900
User-agent:
Mutt/1.9.4 (2018-02-28)
When i try mount aufs, i find some problem with bash.
# mount -o remount,append=~/test_aufs/ro1=ro+wh ~/test_aufs/mount
mount failed with ~/test_aufs/ro1 path isn't exist message.
So i try to debug with strace and i find out bash don't replace ~
path to absolute path.
So i try again with split options lile below.
# mount -o remount -o append=~/test_aufs/ro1=ro+wh ~/test_aufs/mount
It works well. is this bug??
Thanks.