On 2016-04-23 08:09, Valeri Galtsev wrote:
On Sat, April 23, 2016 1:58 am, bugzilla-nore...@freebsd.org wrote:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208663
--- Comment #2 from Chris Hutchinson <portmas...@bsdforge.com> ---
Won't the following work?
$ mkdir /tmp/Space\ Test
$ mkdir /tmp/Space\ Mountpoint
$ echo "/tmp/Space\ Test /tmp/Space\ Mountpoint" nullfs ro 0 0" >>
/etc/fstab.jail_name
My attitude would be: keep the spaces out of directory names - at least
where educated person: system administrator makes the decision, such as
mount points. Not everything that other systems have has to be accepted
for FreeBSD. Such as spaces in paths MS Widows system is infested with
due
to dumb decision by system vendor promoting usernames "Firstname
Lastname"
like.
Just my humble opinion.
There's something to that - spaces in filenames are a big headache. But
in this case it's a settled question - it's not something that "other
systems" do, but something that is already supported in FreeBSD:
getfsent(3) allows an fstab to have escaped characters in path names, so
jail(8) should as well. If I could just use getfsent(3) myself this
would never have come up, but my need to operate in in-memory strings
instead of a file made that inconvenient. Fortunately it just called
strunvis(3) which is trivial to add.
- Jamie
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"