Using Mount Command With Mac OS: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Mac OS == Applications == This is a more convenient and reliable way to access shared drives with Git. == Co...") |
No edit summary |
||
| Line 27: | Line 27: | ||
$ df | $ df | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Notes == | |||
=== External links === | |||
* [http://www.markhneedham.com/blog/2011/01/15/mount_smbfs-mount-error-file-exists/ | |||
Thoughts on Software Development | |||
mount_smbfs: mount error..File exists], Mark Needham, Jan. 2011 | |||
Revision as of 12:56, 12 March 2016
Applications
This is a more convenient and reliable way to access shared drives with Git.
Commands
For a Windows share, use the -t smbfs option.
$ mount -t smbfs //user:password@server/share_name path/to/mount
Note that a share cannot be mounted twice. If it's already mounted somewhere the mount command will result in an error to the effect of mount error: path/to/mount: File exists See the df command below to troubleshoot these situations.
Unmount
$ umount path/to/mount
View all the current mounts
$ df
Notes
External links
Thoughts on Software Development mount_smbfs: mount error..File exists], Mark Needham, Jan. 2011