LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   trying to exportfs an external drive that has a space in the pathname (http://www.linuxquestions.org/questions/slackware-14/trying-to-exportfs-an-external-drive-that-has-a-space-in-the-pathname-4175443065/)

unclejed613 12-26-2012 10:48 PM

trying to exportfs an external drive that has a space in the pathname
 
the device mounts as /media/Easy Drive/ and i've tried inserting the pathname in /etc/exports as /media/Easy\ Drive/movies (the path to the directory i'm trying to share), and i get the following error (indicating that that isn't the way to enter it) :
Code:

bash-4.1# exportfs -a
exportfs: No options for /media/Easy\ Drive/movies: suggest Drive/movies(sync) to avoid warning
exportfs: /etc/exports [3]: Neither 'subtree_check' or 'no_subtree_check' specified for export "Drive/movies:/media/Easy\".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: Invalid IP address Drive/movies
exportfs: Invalid IP address Drive/movies
exportfs: /etc/exports:3: unknown keyword "rw.nohide"

so how do i enter this path so it will work?

unclejed613 12-26-2012 10:56 PM

ok, put the path in double quotes "" and fixed the decimal (should have been a comma) between rw and nohide. now i get this error :
Code:

bash-4.1# exportfs -a
exportfs: /media/Easy Drive/movies does not support NFS export
bash-4.1#

it's a hitachi usb hdd, any ideas how to export it?

unclejed613 12-26-2012 11:31 PM

would this have anything to do with the drive having a vfat partition?


All times are GMT -5. The time now is 10:29 PM.