How do I mount Mac and Windows drives from Ubuntu for use by commandline programs

Cody Robertson Staff asked 3 years ago

Anybody like to talk about this? I can mount network drives from Mac and Windows shares using the GUI. So the network is working fine.

However, I'd like to work on the network files from the command line. How do I
1) mount the network drives
2) where do the files appear in the file system
3) how can I use the automounter

Anybody?

2 Answers
Steve Bonilla Staff answered 3 years ago

the network drives can be mounted and unmounted using the mount and umount commands, respectively

each time it is mounted, you have to enter the password in plain text, unless you have it stored in the fstab file

in some distributions, there is a /mnt directory, it is good practice to create subdirectories here to "mount" to. unlike windows, linux mounts to a directory.

here are some helpful links:

[url]http://en.wikipedia.org/wiki/Mount_(Unix[/url])

[url]http://en.wikipedia.org/wiki/Fstab[/url]

Ulruch answered 3 years ago

What a problem to use autofs?

Know the answer? Login or sign up for an account to answer this question.
Sign Up