I want my login jongi to be able to mount and unmount to /mnt/iso using the following script that I call mountiso. I have put it in /usr/bin.
Code:
#!/bin/sh
# check parameter
if [ -e $1 ]; then
umount /mnt/iso/
mount -t iso9660 -o loop $1 /mnt/iso/
exit
fi
echo "no file to mount given, exit..."