I'm currently mounting my external harddrive using the following entry in /etc/fstab:
UUID=12C23AD8C23AC031 /media/MyBook ntfs-3g auto,users,exec,rw,nobootwait,iocharset=utf8,uid=1000,gid=1000 0 0
In addition to that, I also need to run mount as follows (which I currently only do before starting Steam, but it's getting annoying to constantly do so; I would prefer it was automated):
sudo mount --rbind /media/MyBook/Games/SteamData /home/andreas/.local/share/Steam/
Is there any way to automatically mount the SteamData folder whenever the drive "My Book" is mounted? There are answers on how to run a shell script when a drive is mounted, but is it better/possible to do this directly from fstab?
Note that my external harddrive may not be available at boot, and may be plugged in at a later time.