9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Fossil thinks my free space is a wee bit more than it is
Date: Tue,  9 Oct 2007 18:53:07 -0400	[thread overview]
Message-ID: <e37eecf13e67d4788b552ab556f15af9@quanstro.net> (raw)
In-Reply-To: <509071940710091531t4929a165k7cce6f53a6b50599@mail.gmail.com>

> prompt: fsys main df
> 	main: 1,644,601,344 used + 2,588,672 free = 1,647,190,016 (99% used)
> prompt: fsys main df
> 	main: 1,652,891,648 used + 35,184,366,387,200 free = 1,647,190,016 (100% used)
> prompt: fsys main df
> 	main: 1,666,473,984 used + 35,184,352,804,864 free = 1,647,190,016 (101% used)
> prompt: fsys main df
> 	main: 1,693,908,992 used + 35,184,325,369,856 free = 1,647,190,016 (102% used)
> 
> Overdraft protection? For reference:
> 
> :; ls -l /dev/sdC0/fossil
> --rw-r----- S 0 a a 1650169856 Aug  1 22:57 /dev/sdC0/fossil
> 
> Things seem to be operating more-or-less normally so this isn't a huge
> issue, but it's clearly a reporting bug.
> 
> Anthony

let's see.  fossil uses bsize=8*1024.  35184366387200/8192 = 4294966600.
that looks like a small negative [sic] u32int to me.

i see where fl->used is incremented, but i don't see where it's decremented.
maybe that's correct, but it looks fishy.

- erik


  reply	other threads:[~2007-10-09 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09 22:31 Anthony Sorace
2007-10-09 22:53 ` erik quanstrom [this message]
2007-10-10  2:23 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e37eecf13e67d4788b552ab556f15af9@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).