NFS export with space in directory name

Rick Macklem rmacklem at uoguelph.ca
Thu Nov 8 00:10:11 UTC 2012


Mickael Canevet wrote:
> Hello,
> 
> I'm trying to export a ZFS volume that contains a space (which is
> allowed
> according to
> /usr/src/sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.c,
> function
> valid_char() ), but I noticed that it was not exported (showmount -e).
> 
> /etc/zfs/export creates an entry like this:
> 
> /data/my directory with space -network 192.168.0.0/24
> 
> I tried to do it manually by escaping space character in /etc/exports:
> 
> /data/my\ directory\ with\ space -network 192.168.0.0/24
> 
> or
> 
> "/data/my directory with space" -network 192.168.0.0/24 (works on
> Debian)
> 
> or
> 
> '/data/my directory with space' -network 192.168.0.0/24
> 
> But it does not work ; /var/log/messages always reports "mountd: bad
> exports list line..."
> 
> So I'd like to know if there is a way to export a directory with a
> space in
> its name on FreeBSD 9.0-RELEASE ?
> 
Running mountd-> Nope.

I am not sure if nfse can support this? (It can be found on sourceforge.net
and I've cc'd Andrey, since he'll know the answer.)

rick

> Thank you,
> Mickaël
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


More information about the freebsd-fs mailing list