F5F Stay Refreshed Software Operating Systems Set up the network drive as a user in Linux

Set up the network drive as a user in Linux

Set up the network drive as a user in Linux

M
Machetian
Junior Member
1
10-28-2016, 06:21 AM
#1
Script your request in mind for mounting the network drive without credentials. Use a bash script to handle this, and set it up to run periodically via crontab. Make sure the drive is accessible even when offline, and ensure the exported PDF can be imported later. Keep the setup simple and reliable for your medical device needs.
M
Machetian
10-28-2016, 06:21 AM #1

Script your request in mind for mounting the network drive without credentials. Use a bash script to handle this, and set it up to run periodically via crontab. Make sure the drive is accessible even when offline, and ensure the exported PDF can be imported later. Keep the setup simple and reliable for your medical device needs.

I
I_Apollyon_I
Junior Member
46
11-16-2016, 07:43 PM
#2
Setting the mount definition in fstab with `noauto` lets the owner or group manage mounting and unmounting without needing permission changes. However, if mount points become outdated or file handles are stale, problems may arise. A straightforward fix is to wrap the program with a mount/dismount routine. If the application must run continuously, managing it becomes more involved. The best approach is to monitor the device’s IP/port for CIFS availability, mount it, use rsync to copy data locally, then unmount and have an alternative program reference the local copy, reducing reliance on unstable mounts.
I
I_Apollyon_I
11-16-2016, 07:43 PM #2

Setting the mount definition in fstab with `noauto` lets the owner or group manage mounting and unmounting without needing permission changes. However, if mount points become outdated or file handles are stale, problems may arise. A straightforward fix is to wrap the program with a mount/dismount routine. If the application must run continuously, managing it becomes more involved. The best approach is to monitor the device’s IP/port for CIFS availability, mount it, use rsync to copy data locally, then unmount and have an alternative program reference the local copy, reducing reliance on unstable mounts.