I'm migrating from an archaic version of Red Hat to Ubuntu 9. When going through my old nfs mount script, I found that it contained the -P option.

So my script looks like:

sudo mount -t nfs -o -P ...

It looks like the -P is one of the -o options. My question is: what does the -P option do? I've searched every man page I can find, with no luck. Could it have to do with privileged ports?

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

This is what the FreeBSD man page for mount_nfs says:

-P
Use a reserved socket port number. This flag is obsolete, and only retained for compatibility reasons. (For the rare case where the client has a trusted root account but untrustworthy users and the network cables are in secure areas this does help, but for normal desktop clients this does not apply.)

link|improve this answer
Excellent answer, thank you. – Simon Apr 12 '10 at 7:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.