NFS exports and paths with dashes?

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

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

  /services/www-smartx -maproot=1000 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 :

More information about the freebsd-questions mailing list