NFS hide /export from path

Solution 1:

You have to set the base directory in your NFS exports. To do that and make /export the base directory you should open the file

/etc/exports

and enter the following in the first line:

/export  the.IP.of.THEclientsyouwant(ro,fsid=0)

With the option fsid=0 (or fsid=root) set you won't call the full path on the client side and then the command

mount -t nfs ServerA:/FolderA /media/folderA

just will work as you will.

exports(5) Man page /etc/exports configuration - Red Hat