From MailHub.Postmaster@disney.com  Mon May 14 15:15:41 2001
Return-Path: <MailHub.Postmaster@disney.com>
Received: from mail.disney.com (mail.disney.com [204.128.192.15])
	by hub.freebsd.org (Postfix) with ESMTP id 993C337B42C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2001 15:15:41 -0700 (PDT)
	(envelope-from MailHub.Postmaster@disney.com)
Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100])
	by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f4EMF3A19611
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2001 15:15:04 -0700 (PDT)
Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP for FreeBSD-gnats-submit@freebsd.org; Mon, 14 May 2001 15:16:27 -0700
Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2])
	by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA05875
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2001 15:15:39 -0700 (PDT)
	(envelope-from root@snoopy.fan.fa.disney.com)
Received: from snoopy.fan.fa.disney.com (snoopy.fan.fa.disney.com [153.7.117.170])
	by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA19701
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 May 2001 15:15:38 -0700 (PDT)
	(envelope-from root@snoopy.fan.fa.disney.com)
Received: (from root@localhost)
	by snoopy.fan.fa.disney.com (8.11.3/8.9.3) id f4EMFbm00625;
	Mon, 14 May 2001 15:15:37 -0700 (PDT)
	(envelope-from root@snoopy.fan.fa.disney.com)
Message-Id: <200105142215.f4EMFbm00625@snoopy.fan.fa.disney.com>
Date: Mon, 14 May 2001 15:15:37 -0700 (PDT)
From: Jim.Pirzyk@disney.com
Reply-To: Jim.Pirzyk@disney.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: df displays amd pid mounts
X-Send-Pr-Version: 3.113

>Number:         27319
>Category:       bin
>Synopsis:       df(1) displays amd(4) pid processes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 14 15:20:01 PDT 2001
>Closed-Date:    
>Last-Modified:  Mon Nov 21 22:38:43 UTC 2011
>Originator:     Jim Pirzyk
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD snoopy.fan.fa.disney.com 4.3-RELEASE FreeBSD 4.3-RELEASE #4: Fri Apr 27 01:14:59 PDT 2001 root@snoopy.fan.fa.disney.com:/auto/roy/dist/pub/FreeBSD/4.3-RELEASE/sys/compile/UP_WORKSTATION i386


	
>Description:
	when running df it shows the mount entries for amd which
	are processes.

Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
pid202@zhou:/home        0        0        0   100%    /home
pid202@zhou:/release     0        0        0   100%    /release

>How-To-Repeat:
	df when amd is running
>Fix:

*** ./usr.sbin/amd/include/config.h.orig	Fri Nov  5 04:34:00 1999
--- ./usr.sbin/amd/include/config.h	Mon May 14 14:55:58 2001
***************
*** 458,464 ****
  /* #undef MNT2_GEN_OPT_FSS */
  
  /* ignore mount entry in df output */
! /* #undef MNT2_GEN_OPT_IGNORE */
  
  /* journaling filesystem (AIX's UFS/FFS) */
  /* #undef MNT2_GEN_OPT_JFS */
--- 458,464 ----
  /* #undef MNT2_GEN_OPT_FSS */
  
  /* ignore mount entry in df output */
! #define MNT2_GEN_OPT_IGNORE MNT_IGNORE
  
  /* journaling filesystem (AIX's UFS/FFS) */
  /* #undef MNT2_GEN_OPT_JFS */
***************
*** 570,576 ****
  /* #undef MNT2_NFS_OPT_HOSTNAME */
  
  /* ignore mount point */
! /* #undef MNT2_NFS_OPT_IGNORE */
  
  /* allow interrupts on hard mount */
  #define MNT2_NFS_OPT_INT 0x40
--- 570,576 ----
  /* #undef MNT2_NFS_OPT_HOSTNAME */
  
  /* ignore mount point */
! #define MNT2_NFS_OPT_IGNORE MNT_IGNORE
  
  /* allow interrupts on hard mount */
  #define MNT2_NFS_OPT_INT 0x40
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Fri May 25 03:02:40 PDT 2001 
Responsible-Changed-Why:  
I handle Amd. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27319 

From: Doug Barton <DougB@DougBarton.net>
To: Jim.Pirzyk@disney.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/27319: df displays amd pid mounts
Date: Fri, 25 May 2001 21:13:55 -0700

 Jim.Pirzyk@disney.com wrote:
 
 > >Description:
 >         when running df it shows the mount entries for amd which
 >         are processes.
 > 
 > Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
 > pid202@zhou:/home        0        0        0   100%    /home
 > pid202@zhou:/release     0        0        0   100%    /release
 
 What is it about this that you disklike?

From: Jim.Pirzyk@disney.com
To: Doug Barton <DougB@DougBarton.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/27319: df displays amd pid mounts
Date: Sat, 26 May 2001 10:01:42 -0700

 > Jim.Pirzyk@disney.com wrote:
 > 
 > > >Description:
 > >         when running df it shows the mount entries for amd which
 > >         are processes.
 > > 
 > > Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
 > > pid202@zhou:/home        0        0        0   100%    /home
 > > pid202@zhou:/release     0        0        0   100%    /release
 > 
 > What is it about this that you disklike?
 
 Entries in df output that do not relate to actuall mounted
 partitions.  It makes the df output larger than needed.Jim.Pirzyk@snoopy:~
 1>df
 Filesystem                                     1K-blocks     Used    Avail
 Capacity  Mounted on
 /dev/ad0s1a                                      4065262  1620588  2119454   
 43%    /
 /dev/ad1s1a                                      4065262  1059052  2680990   
 28%    /FreeBSD5
 mfs:26                                           2032110      591  1868951    
 0%    /tmp
 /dev/ad0s1h                                     13224818  1730599 10436234   
 14%    /disk1
 /dev/ad1s1h                                     13326217        1 12260119    
 0%    /disk2
 procfs                                                 4        4        0  
 100%    /proc
 linprocfs                                              4        4        0  
 100%    /usr/compat/linux/proc
 fanapps-n1:/apps                                83886080 78675204  5210876   
 94%    /auto/fanapps-n1/apps
 fanapps-n1:/apps/lsf/lsf4.0/                    83886080 78675204  5210876   
 94%    /auto/fanapps-n1/apps/lsf/lsf4.0
 fanapps-n1:/apps/lsf/lsf4.0/FreeBSD4.3-RELEASE  83886080 78675204  5210876   
 94%    /auto/fanapps-n1/apps/lsf/lsf4.0/FreeBSD4.3-RELEASE
 fanhome-n1:/home                               104857600 79106504 25751096   
 75%    /auto/fanhome-n1/home
 joe:/disk1/lsf                                   7082761  2237647  4774287   
 32%    /auto/joe/disk1/lsf
 fanrel-n1:/rel/sysadm                           70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/sysadm
 fanrel-n1:/rel/sysadm/arch/FreeBSD4.3-RELEASE   70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/sysadm/arch/FreeBSD4.3-RELEASE
 fanrel-n1:/rel/disney-FreeBSD/4.3-RELEASE       70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/disney-FreeBSD/4.3-RELEASE
 fanapps-n1:/apps/adobe/                         83886080 78675204  5210876   
 94%    /auto/fanapps-n1/apps/adobe
 fanrel-n1:/rel/extern-FreeBSD/4.3-RELEASE       70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/extern-FreeBSD/4.3-RELEASE
 fanrel-n1:/rel/sw/FreeBSD/4.3-RELEASE           70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/sw/FreeBSD/4.3-RELEASE
 fanrel-n1:/rel/sw                               70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/sw
 fanrel-n1:/rel/config                           70912324 46937320 23975004   
 66%    /auto/fanrel-n1/rel/config
 
 - JimP

From: Doug Barton <DougB@DougBarton.net>
To: Jim.Pirzyk@disney.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject: Re: bin/27319: df displays amd pid mounts
Date: Sat, 26 May 2001 15:02:46 -0700

 Jim.Pirzyk@disney.com wrote:
 > 
 > > Jim.Pirzyk@disney.com wrote:
 > >
 > > > >Description:
 > > >         when running df it shows the mount entries for amd which
 > > >         are processes.
 > > >
 > > > Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
 > > > pid202@zhou:/home        0        0        0   100%    /home
 > > > pid202@zhou:/release     0        0        0   100%    /release
 > >
 > > What is it about this that you disklike?
 > 
 > Entries in df output that do not relate to actuall mounted
 > partitions.
 
 	I agree that there are a lot of directories listed there. :) I still think
 it boils down to a matter of taste. How about adding a define to make.conf
 to handle it instead of making hiding the default? If you need help with
 that, let me know.
 
 Doug

From: "David O'Brien" <obrien@FreeBSD.ORG>
To: Doug Barton <DougB@DougBarton.net>
Cc: Jim.Pirzyk@disney.com, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/27319: df displays amd pid mounts
Date: Sat, 26 May 2001 18:30:14 -0700

 On Sat, May 26, 2001 at 03:02:46PM -0700, Doug Barton wrote:
 > 	I agree that there are a lot of directories listed there. :) I still think
 > it boils down to a matter of taste. How about adding a define to make.conf
 > to handle it instead of making hiding the default? If you need help with
 > that, let me know.
 
 *sigh* I think we are adding just too many make.conf knobs.  We should
 pick one way, and if others don't like it, they can change it in their
 local sources.  If either of you wants to bring this up on freebsd-arch
 or some other list, I could be swayed by the most popular choice.
  
 -- 
 -- David  (obrien@FreeBSD.org)
>Unformatted:
