Article View: aus.computers.linux
Article #57436df and fdisk
From: Lee Wai Kit
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
41 lines
1662 bytes
1662 bytes
Subject: df and fdisk Newsgroups: alt.os.linux Summary: Keywords: Subject: df and fdisk Newsgroups: uk.comp.os.linux Summary: Keywords: Hello! I have a question about my Linux partiton. After running df, I find the following: Filesystem 1024-block Used Available Capacity Mounted on .. ... ... ... ... ..... /dev/hda5 460440 197714 238133 45% / ------------------------------------------------------------------------- But when I run fdisk, I find the following: Device Boot Begin Start End Blocks Id System ... .. .. .. .. .. . .. /dev/hda5 763 763 1006 491872+ 83 Linux native /dev/hda6 1007 1007 1017 22144+ 82 Linux swap ------------------------------------------------------------------------- Can anyone tell me 1) why the number of Blocks used in /dev/hda5 is different when I run df and fdisk? 2) Why the (Used + Available) is not equal to the number of 1024-block when I run df? Is it due to the bad sectors in my Linux partitions? If it is, then is there anyway to fix it? Thanks for you help!
Technical Details
Message-ID:
<52rrtg$n96@ustsu10.ust.hk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,54378f9827de692d,start X-Google-Attributes: gid102983,public From: ee_lwkad@uxmail.ust.hk (Lee Wai Kit) Subject: df and fdisk Date: 1996/10/01 Message-ID: <52rrtg$n96@ustsu10.ust.hk> X-Deja-AN: 186616822 organization: Hong Kong University of Science and Technology newsgroups: aus.computers.linux