[Bug 208663] It is not possible to use spaces in fstab paths when using jails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 23 02:16:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208663

Jamie Gritton <jamie at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie at FreeBSD.org

--- Comment #1 from Jamie Gritton <jamie at FreeBSD.org> ---
Created attachment 169588
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169588&action=edit
Use strunvis to escape fstab characters

I took at look at getfsent(3), and it uses strunvis(3) to parse escape codes
(only in the pathnames).  So I've done the same thing when I parse fstab lines
and the "mount" parameter.

Now the example you gave works, with the same \040 for space.  The quotes still
won't work, but then they don't work in getfsent either, so that sounds proper.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list