Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2016 02:16:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 208663] It is not possible to use spaces in fstab paths when using jails
Message-ID:  <bug-208663-8-eTN8K8k7nO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208663-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208663-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Jamie Gritton <jamie@FreeBSD.org> changed:

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

--- Comment #1 from Jamie Gritton <jamie@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208663-8-eTN8K8k7nO>