Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just gained full root access through SSH to my readyNAS which runs Debian and I am looking into ways of making network shares available directly on the readyNAS.

I guess my syntax is completely wrong, so how should I really map up the following drive to access it in my SSH terminal?

share|improve this question
up vote 0 down vote accepted

Correct me if im wrong, but your trying to access a network share in debian?
or are you trying to make a network share accessible from other machines?

this is how to mount one in debian/ubuntu:
sudo smbmount //HOSTNAME/FOLER /mount/point -o user="username%password",uid=1000,mask=000

share|improve this answer
btw that command is one line – madmaze Dec 20 '10 at 16:08
FYI, the preferred filesystem type is cifs, as in mount -t cifs //hostname/share /mount/point, and smbmount / smbfs are obsolete. – grawity Dec 20 '10 at 19:19

smbmount no longer available, so you should install cifs-utils

mount -t cifs //HOSTNAME/FOLDER /mount/point -o rw -o user="username"

it will ask password

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .