From rionda@gufi.org  Sat Jun 11 15:16:59 2005
Return-Path: <rionda@gufi.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1FD8416A41C
	for <bug-followup@FreeBSD.org>; Sat, 11 Jun 2005 15:16:59 +0000 (GMT)
	(envelope-from rionda@gufi.org)
Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C246743D1F
	for <bug-followup@FreeBSD.org>; Sat, 11 Jun 2005 15:16:58 +0000 (GMT)
	(envelope-from rionda@gufi.org)
Received: from kaiser.sig11.org (82.48.161.190) by vsmtp1.tin.it (7.0.027)
        id 42A4AC52002526E3; Sat, 11 Jun 2005 17:16:57 +0200
Received: by kaiser.sig11.org (Postfix, from userid 1000)
	id 98B71611C; Sat, 11 Jun 2005 17:16:56 +0200 (CEST)
Message-Id: <20050611151656.GB938@kaiser.sig11.org>
Date: Sat, 11 Jun 2005 17:16:56 +0200
From: Matteo Riondato <rionda@gufi.org>
To: bug-followup@FreeBSD.org, dirkx@webweaving.org
Subject:

>Number:         82142
>Category:       bin
>Synopsis:       (missing)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 11 15:20:15 GMT 2005
>Closed-Date:    Sun Jun 12 02:06:33 GMT 2005
>Last-Modified:  Thu Apr 30 00:56:06 UTC 2009
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Patch for this (can be found at http://www.riondabsd.net/diff/mount.diff ):
 --- mount.c.old	Sat Jun 11 14:22:44 2005
 +++ mount.c	Sat Jun 11 14:31:17 2005
 @@ -80,7 +80,7 @@
  			int, const char *, const char *);
  void	remopt(char *, const char *);
  void	prmount(struct statfs *);
 -void	putfsent(const struct statfs *);
 +void	putfsent(struct statfs *);
  void	usage(void);
  char   *flags2opts(int);
  
 @@ -714,12 +714,17 @@
  
  void
  putfsent(ent)
 -	const struct statfs *ent;
 +	struct statfs *ent;
  {
  	struct fstab *fst;
  	char *opts;
  
  	opts = flags2opts(ent->f_flags);
 +	if (strncmp(ent->f_mntfromname, "<below>", 7) == 0 ||
 +		strncmp(ent->f_mntfromname, "<above>", 7) == 0) {
 +		strcpy(ent->f_mntfromname,
 +			(strnstr(ent->f_mntfromname, ":", 8) +1));
 +	}	
  	printf("%s\t%s\t%s %s", ent->f_mntfromname, ent->f_mntonname,
  	    ent->f_fstypename, opts);
  	free(opts);
 
 
 Best Regards
 
 -- 
 Rionda aka Matteo Riondato
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 12 02:04:59 GMT 2005 
State-Changed-Why:  
Misfiled followup without enough information to figure out to what 
PR it should be attached. 


Responsible-Changed-From-To: gnats-admin->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jun 12 02:04:59 GMT 2005 
Responsible-Changed-Why:  

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