top of page
Search

Using the command line to mount and unmount a shared drive

  • Jul 28, 2024
  • 1 min read

You might have to use `sudo` for the below commands. In this particular example we have a unique environment where one shared drive (FILES) is the parent of another (SHARE).

mkdir /Volumes/FILES
mount -t smbfs //10.4.117.219/FILES /Volumes/FILES

Some systems have a peculiar

mkdir /Volumes/SHARE
mount -t smbfs //10.4.117.219/FILES/SHARE /Volumes/SHARE

To unmount the drive you simply do

umount DRIVE_MOUNT_PATH

 
 
 

Comments


  • GitHub
  • LinkedIn
  • Twitter

©2023 by Herman

bottom of page