Bug 82142

Summary: (missing)
Product: Base System Reporter: Matteo Riondato <rionda>
Component: binAssignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-CURRENT   
Hardware: Any   
OS: Any   

Description Matteo Riondato 2005-06-11 16:20:15 UTC
 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)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-06-12 03:04:59 UTC
State Changed
From-To: open->closed

Misfiled followup without enough information to figure out to what 
PR it should be attached. 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-06-12 03:04:59 UTC
Responsible Changed
From-To: gnats-admin->linimon