A mount point is basically a folder, which content is “replaced” by the content of the partition mounting there. Creating a mount point thus simply requires to create a folder.
Attention! Folders outside /home are commonly owned by the root user. You thus need to:
- Use superuser privileges to create the folder:
sudo mkdir -p /path/to/folder
- Change the folder permissions so user(s) can use it. Depending on your use case, you can either:
- change the owner to the sole user
sudo chown <user>:<user> /path/to/folder
-
- change the permission globally
sudo chmod ugo+rwx /path/to/folder