use the systemd to mount a drive on Ubuntu Core 16.04:
Step 1: Identlify your uuid by using
sudo blkid
Step 2: Using "vi" or another editor create a mount unit file for systemd to use. If you want the mount point to be "/media/data" then create the file "/etc/systemd/system/media-data.mount"
sudo vi /etc/systemd/system/media-data.mount
Step 3: Add information about your drive to the mount unit file (media-data.mount)
[Unit]
Description=Mount unit for data
[Mount]
What=/dev/disk/by-uuid/4E1AEA7B1AEA6007
Where=/media/data
Type=ntfs
Options=umask=0000
[Install]
WantedBy=multi-user.target
Step 4: reload systemd
sudo systemctl daemon-reload
Step 5: Start the unit
sudo systemctl start media-data.mount
Step 6: To enable auto mount do:
sudo systemctl enable media-data.mount
Step 7: Have fun.
Information sources:
http://manpages.ubuntu.com/manpages/zesty/man5/systemd.mount.5.html
https://flexion.org/posts/2016-12-raspberry-pi-3-powered-nextcloud-box-on-ubuntu-core/
mount
command.