Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 19:10:02 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        =?utf-8?Q?Micka=C3=ABl_Can=C3=A9vet?= <mickael.canevet@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFS export with space in directory name
Message-ID:  <416641890.106495.1352333402239.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <CABu8J6HvpRO%2BsCehOkpeOtmdMB8bkONA4zCgU87c4X7pR3DYAQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mickael Canevet wrote:
> Hello,
>=20
> 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).
>=20
> /etc/zfs/export creates an entry like this:
>=20
> /data/my directory with space -network 192.168.0.0/24
>=20
> I tried to do it manually by escaping space character in /etc/exports:
>=20
> /data/my\ directory\ with\ space -network 192.168.0.0/24
>=20
> or
>=20
> "/data/my directory with space" -network 192.168.0.0/24 (works on
> Debian)
>=20
> or
>=20
> '/data/my directory with space' -network 192.168.0.0/24
>=20
> But it does not work ; /var/log/messages always reports "mountd: bad
> exports list line..."
>=20
> 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 ?
>=20
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=C3=ABl
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416641890.106495.1352333402239.JavaMail.root>