Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 16:46:29 -0800 (PST)
From:      Mikko Tyolajarvi <mikko@dynas.se>
To:        nathan@rtfm.net
Cc:        current@freebsd.org
Subject:   Re: df -l broken
Message-ID:  <200111300046.fAU0kT653075@mikko.rsa.com>
References:  <200111252141.fAPLf1639599@trantor.xs4all.nl> <200111252256.fAPMubV20382@bunrab.catwhisker.org> <20011126000722.B280@nebula.noos.fr> <20011126222855.A14973@rtfm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.current you write:

>On Mon, Nov 26, 2001 at 12:07:22AM +0100, Maxime Henrion wrote:
>> If my patch is exact, then the bug should manifest itself only if there
>> are no network filesystems mounted.  Do you have any network fs mounted
>> on your box ?

>No networked filesystems here, and no problems:

They don't have to be mounted, just loaded.  E.g. if "nfs"
shows up with "lsvfs", "df -l " will work, if not, it won't.
(dunno about other network file systems).

Thus:

  gw% lsvfs
  Filesystem                        Refs Flags
  -------------------------------- ----- ---------------
  ufs                                  5 
  procfs                               1 synthetic
  gw% df -l
  gw% 
  gw% su -m
  Password:
  gw# kldload nfs
  gw# ^D
  gw% lsvfs
  Filesystem                        Refs Flags
  -------------------------------- ----- ---------------
  ufs                                  5 
  procfs                               1 synthetic
  nfs                                  0 network
  gw% df -l
  Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
  /dev/ad0s1a    254063    45332   188406    19%    /
  /dev/ad0s1g  34487716  1482012 30246688     5%    /home
  /dev/ad0s1e   2032623   519974  1350040    28%    /usr
  /dev/ad0s1f   2032623     2901  1867113     0%    /var
  procfs              4        4        0   100%    /proc
  /dev/vn0c      130020        4   119616     0%    /tmp

(This is on -STABLE, BTW)

  $.02,
  /Mikko

>[341]nathan@bokonon:~% df -k
>Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
>/dev/da0s1a     99191    52993    38263    58%    /
>devfs               1        1        0   100%    /dev
>/dev/da0s1f   6450317  4945823   988469    83%    /usr
>/dev/da0s1e     99191     7816    83440     9%    /var
>procfs              4        4        0   100%    /proc
>[342]nathan@bokonon:~% df -l
>Filesystem  512-blocks     Used    Avail Capacity  Mounted on
>/dev/da0s1a     198382   105986    76526    58%    /
>devfs                2        2        0   100%    /dev
>/dev/da0s1f   12900634  9891646  1976938    83%    /usr
>/dev/da0s1e     198382    15632   166880     9%    /var
>procfs               8        8        0   100%    /proc
>[343]nathan@bokonon:~% uname -a
>FreeBSD bokonon.rtfm.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Nov  4 23:28:25 EST 2001     nathan@bokonon.rtfm.net:/usr/src/sys/i386/compile/SAN_LORENZO  i386

[...]
-- 
 Mikko Työläjärvi_______________________________________mikko@rsasecurity.com
 RSA Security

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111300046.fAU0kT653075>