<ins id='135d8'></ins>
        <dl id='135d8'></dl>

      1. <tr id='135d8'><strong id='135d8'></strong><small id='135d8'></small><button id='135d8'></button><li id='135d8'><noscript id='135d8'><big id='135d8'></big><dt id='135d8'></dt></noscript></li></tr><ol id='135d8'><table id='135d8'><blockquote id='135d8'><tbody id='135d8'></tbody></blockquote></table></ol><u id='135d8'></u><kbd id='135d8'><kbd id='135d8'></kbd></kbd>
      2. <acronym id='135d8'><em id='135d8'></em><td id='135d8'><div id='135d8'></div></td></acronym><address id='135d8'><big id='135d8'><big id='135d8'></big><legend id='135d8'></legend></big></address>
      3. <span id='135d8'></span>

        1. <i id='135d8'></i>
          <i id='135d8'><div id='135d8'><ins id='135d8'></ins></div></i>

          <code id='135d8'><strong id='135d8'></strong></code>
          <fieldset id='135d8'></fieldset>

          Linux系统的磁盘空间管理工具

          • 时间:
          • 浏览:6
          • 来源:124软件资讯网

            1.fdisk -l

            Disk /dev/sda: 120.0 GB  , 120034123776 bytes =>硬盘容量120G

            255 heads , 63 sectors/track , 14593 cylinders =>255个磁头 ,63个扇区  ,14593个柱面

            Units = cylinders of 16065 * 512 = 8225280 bytes =>每个柱面的容量是 8225280

            =>存储容量=磁道(柱面)数×磁头数×每道扇区数×每扇区字节数

            14593×255×63×512=111.788G

            柱面容量=磁头数×每道扇区数×每扇区字节数 255×63×512=8225280 B

            现实上硬盘厂家通常是根据1G=1000盘算的

            Disk identifier: 0xc3ffc3ff

            Device Boot Start End Blocks Id System =>start 表现的一个分区从X cylinder最先

            /dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS

            /dev/sda2 3825 10199 51200000 7 HPFS/NTFS

            /dev/sda3 10200 12596 19253902+ 5 Extended

            /dev/sda4 12597 14593 16040902+ 12 Compaq diagnostics

            /dev/sda5 10200 10211 96358+ 83 Linux

            /dev/sda6 10212 10454 1951866 82 Linux swap / Solaris

            /dev/sda7 10455 11548 8787523+ 83 Linux

            /dev/sda8 11549 12596 8418028+ 83 Linux

            2.df:通过这个下令可以检察磁盘的使用情形以及文件系统被挂载的位置

            Filesystem 1K-blocks Used Available Use% Mounted on

            /dev/sda7 8649544 1986948 6223220 25% /

            tmpfs 1033648 0 1033648 0% /lib/init/rw

            udev 10240 136 10104 2% /dev

            tmpfs 1033648 0 1033648 0% /dev/shm

            /dev/sda5 93307 19997 68493 23% /boot