DF siv rau dab tsi?
DF siv rau dab tsi?

Video: DF siv rau dab tsi?

Video: DF siv rau dab tsi?
Video: Uv koj los laus tsis zoo dab tsi by nkaujnoog hawj 2024, Kaum ib hlis
Anonim

Kev Ua Haujlwm: Unix thiab Unix zoo li

Hauv qhov no, DF H hais kom ua yog dab tsi?

Cov ' df ua ' lus txib stands rau "diskfilesystem", nws yog siv kom tau ib tug tag nrho cov ntsiab lus ntawm muaj thiab siv disk chaw siv cov ntaub ntawv system ntawm Linuxsystem.

Tsis tas li ntawd, 1k block yog dab tsi? Cov 1 K - thaiv header yog tag nrho spaceavailable, ntsuas hauv 1kB units. Keeb kwm, thiab raws li tus qauv POSIX, df yuav tsum qhia qhov chaw hauv chav nyob ntawm 512-byte thaiv ; koj tuaj yeem tau txais cov zis ntawd los ntawm kev ua: POSIXLY_CORRECT=1df.

Qhov thib ob, qhov txawv ntawm DU thiab DF yog dab tsi?

DF (disk free) saib disk siv blocks ncaj qha rau hauv cov ntaub ntawv metadata. DU (kev siv disk) yog siv ntau tshaj df ua nyob rau hauv ib hnub rau ib hnub project raws li nws qhia cov disk siv raws li perdirectory theem. Hauv paus, df ua nyeem cov superblock nkaus xwb thiab ntseeg nws kiag li. du nyeem txhua yam khoom thiab sums themup.

Cov lus txib twg siv los paub qhov chaw disk hauv Unix?

10 Cov uas tseem ceeb ( Disk Kev siv) Cov lus txib rau Nrhiav Disk Kev siv cov ntaub ntawv thiab cov npe. Lub Linux "du" ( Disk Kev siv) yog tus qauv Unix /Linux lus txib , siv los xyuas cov ntaub ntawv ntawm disk siv cov ntaub ntawv thiab cov npe ntawm amachine.

Pom zoo: