From nobody@FreeBSD.org  Mon Apr 29 08:35:08 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7C06F37B417
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Apr 2002 08:35:06 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g3TFZ6810982;
	Mon, 29 Apr 2002 08:35:06 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204291535.g3TFZ6810982@freefall.freebsd.org>
Date: Mon, 29 Apr 2002 08:35:06 -0700 (PDT)
From: Peter Edwards <pmedwards@eircom.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] Extend fstab(5) format to allow for spaces in filenames
X-Send-Pr-Version: www-1.0

>Number:         37569
>Category:       conf
>Synopsis:       [patch] Extend fstab(5) format to allow for spaces in filenames
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefanf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 29 08:40:01 PDT 2002
>Closed-Date:    Fri Mar 15 23:41:39 UTC 2013
>Last-Modified:  Fri Mar 15 23:41:39 UTC 2013
>Originator:     Peter Edwards
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD rocklobster 4.5-STABLE FreeBSD 4.5-STABLE #30: Mon Apr 29 08:00:03 IST 2002     petere@rocklobster:/pub/FreeBSD/work/src/sys/compile/ROCKLOBSTER  i386

>Description:
I use "smbfs", and, on machines beyond my control, some of the shares
have spaces in their names. Unfortunately, fstab(5) can't do spaces in
the device name. This adds the ability.

The only incompatibility should be with people already using the "
character in their device / mount point names, which I assume will be
less than the number who find this useful.
>How-To-Repeat:
Try to put a space in an entry in /etc/fstab, then use mount

>Fix:
begin 644 fstab-quotes.tar.Z
M'YV02=R0*8-'!P@V:<2\0"AFS(LS9=R\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M`!&UE($.)W*#@PXZ4IR0P4%;<>Q#@9(:M([AJ."\">^.FX:?L"$/&;5.7;&T
B5*]N-2\W&<-2U^H&Z[C`"6VP3B$WU@8XS,@B:RQ/>*)E.@``
`
end

>Release-Note:
>Audit-Trail:

From: Matteo Riondato <rionda@gufi.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: conf/37569: [PATCH] Extend fstab(5) format to allow for spaces in filenames
Date: Tue, 29 Mar 2005 22:59:13 +0200

 --656hIAUFSU7Oh46B
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I modified the patch and applied it.
 It worked.
 It adds support for spaces in the first 2 fields of /etc/fstab .
 The new patches can be found at
 http://www.riondabsd.net/fstab-quotes.tar.gz
 I think they should be committed (after having been reviewed) because
 they add a feature which can be really useful.
 Anyway, this is absolutely not a conf PR, but I don't know which
 category fits it best.
 
 --=20
 Rionda aka Matteo Riondato
 Disinformato per default
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
 
 --656hIAUFSU7Oh46B
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCScGg2Mp4pR7Fa+wRArhbAJ9Ot8mBMewMQbNtPmcDgVFyBnAvQACdFF7H
 WbH0tI2V8vjiMGUGfSUHl6c=
 =ED0V
 -----END PGP SIGNATURE-----
 
 --656hIAUFSU7Oh46B--
Responsible-Changed-From-To: freebsd-bugs->matteo 
Responsible-Changed-By: matteo 
Responsible-Changed-When: Sat Mar 4 10:55:20 UTC 2006 
Responsible-Changed-Why:  
I'll handle this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37569 

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/37569: [PATCH] Extend fstab(5) format to allow for spaces
 in filenames
Date: Sat, 21 Jun 2008 20:17:14 +0100 (BST)

 See also PRs 55539 and 117687 for other solutions to this problem.
Responsible-Changed-From-To: matteo->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 19 04:39:12 UTC 2010 
Responsible-Changed-Why:  
Reset PR assigned to inactive committer. 

Hat:	gnats-admin 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37569 
State-Changed-From-To: open->patched 
State-Changed-By: stefanf 
State-Changed-When: Thu Oct 11 11:49:23 UTC 2012 
State-Changed-Why:  
Grab and mark patched. 


Responsible-Changed-From-To: freebsd-bugs->stefanf 
Responsible-Changed-By: stefanf 
Responsible-Changed-When: Thu Oct 11 11:49:23 UTC 2012 
Responsible-Changed-Why:  
Grab and mark patched. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37569 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Mar 15 23:41:38 UTC 2013 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37569 
>Unformatted:
