Sometimes you need to disconnect and reconnect mounts that have gone bad and don't want to disconnect + reconnect the entire list of fstab entries.
Is this possible without having to basically rerun the full underlying mount command that fstab abstracts away? Something like:
mount /Videoswhere fstab contains:
//admin@192.168.1.4/Videos$ /Videos smbfs nodev,nosuid,autoI'd rather not copy and paste the entire fstab entry and modify it to use the mount -o syntax
1 Answer
(Thanks to Tan for the answer)
umount /Videos and mount /Videos will work, and the latter will use the source, type and options in //admin@192.168.1.4/Videos$ /Videos smbfs nodev,nosuid,auto that is specified in fstab.
Side-note: I don’t bother with /etc/fstab anymore. I use /etc/auto.direct.