The correct way to get filesystem to mount is to create an entry in /etc/fstab .
You need three pieces of information. The block device, the mount point directory, and the filesystem type.
Let's assume that the device is /dev/sdb1, the mount point directory is /mount/dir, and the fliesystem type is ext4 .
Then you need to add a line to fstab like:
Code:
/dev/sdb1 /mount/dir ext4 defaults 0 0
So just start your favorit edit AS ROOT and edit the fstab file as indicate.
Be certain there is a newline at the end of the last line.
Then when you boot or execute "
mount -a" as root the mount will take place.