The mount command only mounts a filesystem temporarily; that is, filesystems mounted with the mount command won't survive a system reboot. If you want to mount a filesystem permanently, then you need to include it in the filesystem table file /etc/fstab.
Each entry (or line) in /etc/fstab represents a different filesystem, and each line consists of the following six fields:
- filesystem
- mount_dir
- fstype
- mount_options
- dump
- check_fs
So, for example, to mount our /dev/sdb1 filesystem on /games permanently, you need to include the following line in /etc/fstab:
/dev/sdb1 /games ext4 defaults 0 0
You should add the line to the end of the /etc/fstab file:
root@ubuntu-linux:~# tail -1 /etc/fstab
/dev/sdb1 /games ext4 defaults 0 0
Now let's unmount /dev/sdb1:
root@ubuntu-linux:~# umount /dev/sdb1
Finally, you can now mount /dev/sdb1 permanently by running:
root@ubuntu-linux:~# mount /dev/sdb1
Notice we did not specify a mount destination this time...