Cov txheej txheem:

Vim Li Cas Peb Siv mount hais kom ua hauv Linux?
Vim Li Cas Peb Siv mount hais kom ua hauv Linux?

Video: Vim Li Cas Peb Siv mount hais kom ua hauv Linux?

Video: Vim Li Cas Peb Siv mount hais kom ua hauv Linux?
Video: yuav coj li cas kom luag nyiam 2024, Hlis ntuj nqeg
Anonim

Cov Linux mount hais kom ua loads cov filesystems ntawm USBs, DVDs, SD phaib, thiab lwm yam khoom siv cia rau hauv lub computer khiav lub Linux kev khiav hauj lwm qhov system. Linux siv ib tug directory ntoo qauv. Tshwj tsis yog cov cuab yeej khaws cia mounted rau cov qauv ntoo, tus neeg siv tsis tuaj yeem qhib ib qho ntawm cov ntaub ntawv hauv lub computer.

Ib yam li ntawd, yuav hloov npe Mount point hauv Linux li cas?

Yuav ua li cas hloov lub npe mount point hauv Linux

  1. Thov ua raws li cov kauj ruam tau hais hauv qab no txhawm rau hloov lub npe themount point.
  2. Thawj tus ID nkag mus ua tus neeg siv hauv paus ntawm Linux.
  3. Txav mus rau /etc directory los ntawm kev muab cov lus txib cd /etc raws li qhia hauv qab screenshot.
  4. Thaum koj tau hloov kho nias ctrl + x thiab tom qab ntawd Y kom txuag cov kev hloov pauv hauv cov ntaub ntawv.

Qhov thib ob, yuav ua li cas txheeb xyuas cov ntsiab lus hauv Linux? Saib Filesystems Hauv Linux

  1. mount lus txib. Txhawm rau tso saib cov ntaub ntawv hais txog mounted filesystems, nkag mus: $ mount | kab -t.
  2. df lus. Txhawm rau nrhiav cov ntaub ntawv kaw lus disk qhov chaw siv, nkag mus: $df.
  3. ob Command. Siv cov lus txib du los kwv yees cov ntaub ntawv qhov chaw siv, nkag mus: $ du.
  4. Sau cov lus muab faib. Ntaus cov lus txib fdisk raws li hauv qab no (yuav tsum tau khiav raws li hauv paus):

Hais txog qhov no, nws txhais li cas rau mount ib cov ntaub ntawv system?

Mounting yog ib tug txheej txheem los ntawm kev khiav hauj lwm system ua cov ntaub ntawv thiab cov ntawv teev npe ntawm cov cuab yeej cia (xws li hard drive, CD-ROM, lossis kev sib koom network) muaj rau cov neeg siv nkag los ntawm lub computer. cov ntaub ntawv system.

Dab tsi yog cov ntaub ntawv mounting hauv Unix?

Cov Mount hais kom ua mounts ib lub chaw cia khoom orfilesystem, ua rau nws nkag mus tau thiab txuas mus rau ib tug uas twb muaj lawm directory qauv. Umount hais kom "unmounts" a mounted filesystem, ceeb toom rau lub kaw lus kom ua tiav ib qho tseem tos nyeem lossis sau cov haujlwm, thiab ua kom nws ruaj ntseg.

Pom zoo: