Paul Herman <[EMAIL PROTECTED]> writes:
> On Thu, 6 Jul 2000, Bill Fumerola wrote:
>
[snip]
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/ad0s2a 446503 30922 379861 8% /
> /dev/ad0s9e 1453615 758910 578416 57% /usr
> /dev/ad0s9f 968983 357403 534062 40% /usr/local
> /dev/ad0s9g 242239 9945 212915 4% /var
> /dev/ad0s9h 2013515 1242447 609987 67% /u01
> procfs 4 4 0 100% /proc
> Heh? What's this? 242239 9945 212915 4% /mnt
> total 1581144 505684 995140 34% /mnt2
> total 1391380 414168 906528 31% /mnt3
> bash-2.03#
>
> Hee, hee. Yes, this is probably no big deal (and not put forth as any
> strong argument for not commiting this) but who knows what some
> cronjob scripts might expect. Hmmm, let me give constructive
> criticism a shot and see how far it goes:
humm! you are looking for a small bug (the beast :)
this problem also exists w/ du -c...
# cp -rp /etc/defaults total
# du -c total
69 total
69 total
so, your argumentation isn't "viable" (in french, don't know the
translation in english, sorry).
if you prefer, say "total:" inseatd of just "total" since it's not
possible to remote mount something like this. but what about du -c in
this case...
> Perhaps if it were expected that the "df -c" output were completly
> different? Then "total" would be less likely to be counted as some
> other filesystem by mistake? Perhaps something along the lines:
>
> bash-2.0.3# df -c /usr /usr/local
> Totals for: /usr /usr/local
> 1K-Blocks: 2422598
> Used: 1116313
> Avail: 1306285
> Capacity: 46%
>
> Dunno how that would go over with the purists, though... after all
> 'df' is in one of the holiest of directories... /bin. <g>
Cyrille.
--
home:mailto:[EMAIL PROTECTED] Supprimer "no-spam." pour me repondre.
work:mailto:[EMAIL PROTECTED] Remove "no-spam." to answer me back.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message