NFS exports and paths with dashes?

Ivan Voras ivoras at fer.hr
Tue Apr 10 10:33:25 UTC 2007


I have the following line in my /etc/exports:

  /services/www-smartx -maproot=1000 xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy

with the intention to export the directory "/services/www-smartx".
But mountd complains:

  bad exports list line /services/www-smartx -maproot

and vim's highlighting marks the first dash as a syntax error. So, how 
to export a path with a dash over NFS? I don't see anything special 
about paths like that in exports(5).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070410/77e2b5f8/signature.pgp


More information about the freebsd-questions mailing list