sambaのマウントする時は以下の方法をよく使う
1.mountコマンドsudo mount -t cifs //192.168.0.20/xxx /mnt/xx -o username=xxx,password=***2./etc/fstab記述 → mount -a
//192.168.0.20/xxx /mnt/xxx cifs username=xxx,password=***,defaults 0 0/etc/fstabはroot権限がなくても参照できるので、これを外部ファイルにする。