public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Esteban Lopez <elopez@softel.net.mx>
To: linux-mtd@lists.infradead.org
Subject: Re: df -h, du -ahx and flash size not match
Date: Tue, 21 Feb 2012 08:56:53 +0000	[thread overview]
Message-ID: <4F435C55.9000402@softel.net.mx> (raw)
In-Reply-To: <CAN8TOE_dF1ri7cxMVBzZ9Mwqv-XCyo+mZJi1Nwhb7-OkBErU_A@mail.gmail.com>

I read the UBIFS FAQ and UBIFS documentation but all the explanation is about free space. I don't understand why df -h reports 236M of total space if I have 469762048 bytes in this partition.

rootfs                236M  138M   98M  59% /

cat /proc/mtd

dev:    size   erasesize  name

mtd0: 04000000 00020000 "Partition 1"

mtd1: 1c000000 00020000 "Partition 2"

Sorry if this is a obvious answer but I will apreciate your help to understand


El 02/20/2012 11:47 PM, Brian Norris escribió:
> On Mon, Feb 20, 2012 at 9:41 AM, Esteban Lopez<elopez@softel.net.mx>  wrote:
>> If I create big files and I run du -ahx command over / I get a  total of
>> 593M
>>   of info
>> Why the size not match ? why I can have 593M in my ROOTFS if I only have
>> 469762048 bytes?? Why df -h report 161M used in rootfs if du report 593M?
> http://www.linux-mtd.infradead.org/faq/ubifs.html#L_df_report
>

  reply	other threads:[~2012-02-21 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-20 17:41 df -h, du -ahx and flash size not match Esteban Lopez
2012-02-20 23:47 ` Brian Norris
2012-02-21  8:56   ` Esteban Lopez [this message]
2012-03-07 17:30     ` Artem Bityutskiy
     [not found]   ` <4F45FE0C.3070807@softel.net.mx>
2012-02-23 19:35     ` Brian Norris
2012-02-23 16:52       ` Esteban Lopez

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=4F435C55.9000402@softel.net.mx \
    --to=elopez@softel.net.mx \
    --cc=linux-mtd@lists.infradead.org \
    /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