ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Вывод df
Date: Sun, 20 Nov 2011 20:06:40 +0400
Message-ID: <4EC92590.6030909@mail.ru> (raw)

Здравствуйте!

Подскажите, пожалуйста, как правильно трактовать вывод df, а то простая 
арифметика не помогает:

df -h
Файловая система      Разм  Исп  Дост  Исп% смонтирована на
/dev/hdb1             294G   33M  279G   1% /disk2

Казалось бы: 294-0.033=294, м.б. 293 с учётом округления.

df
Файловая система     1K-блоков      Исп  Доступно  Исп% смонтирована на
/dev/hdb1            307663800     32812 292002556   1% /disk2

Из арифметики получается 307663800-32812=307630988.

Около 5% несоответствие.

Файловая система ext2.

fdisk -l /dev/hdb

Disk /dev/hdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       38913   312568641   83  Linux

На данный момент раздел полностью очищен. Я понимаю, что место занимает 
служебная информация файловой системы и т.п., но я думал, что она или 
выведена за суммарный размер, или числится занятой, но тут как-то ни туда, 
ни сюда.

-- 
	С уважением,
		Владимир.


             reply	other threads:[~2011-11-20 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-20 16:06 Vladimir Karpinsky [this message]
2011-11-20 17:21 ` Michael Shigorin
2011-11-20 17:38   ` Vladimir Karpinsky
2011-11-21 14:05 ` Grigory Fateyev

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=4EC92590.6030909@mail.ru \
    --to=vkarpinsky@mail.ru \
    --cc=community@lists.altlinux.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git