Auto-kukanda zvikamu ne fstab

Dzimwe nguva tinoda a kupatsanura se gadzira otomatiki apo hurongwa huri kusimudzwa. Nzira chaiyo yekugadzirisa dambudziko iri kushandisa iyo faira fstab iri mu / etc / fstab.

Luis López ndomumwe wevakakunda pamakwikwi edu evhiki: «Goverana zvaunoziva nezve Linux«. Wakafadza Luis!

Izvo zvinodikanwa kuti uve nedudziro diki yeimwe pfungwa usati watanga:

FileStem: Midhiya yese yepanyama inogona kuchengeta mafaera inofanirwa kunge iine systemystem kuti ikwanise kuzadzisa iri basa (semuenzaniso: mugove we hard disk). Iyo fileystem sisitimu inoshandiswa kuronga mafaera pane akadaro ekuchengetedza svikiro, asi isu taigona kuchiona senge yekuchengetedza svikiro pachayo (padanho revashandisi). Izvo zvinodikanwa kujekesa kuti iyi haisi dudziro chaiyo, asi ichatiswededza padyo nepfungwa ...

Rudzi rwemafaira: Sezvatatoona, faira system isangano system uye zvinonzwisisika kuti kune akati wandei masystem ekuronga mafaera, yega yega ine zvayakanakira nezvayakaipira. Semuenzaniso: FAT, NTFS, EXT2, EXT3, EXT4, nezvimwe.

Yekusimudzira poindi: Iyo poindi point dhairekodhi kana dhairekitori. Mushure mekumisikidza iyo fileystem mune yakati dhairekitori isu tinokwanisa kuwana mafaera kuburikidza nayo (dhairekitori).

Kuisa sarudzo: Vanokutendera kuti utaure mamwe ma parameter kuitira kuti kana iyo systemystem yakasimudzwa iitwe nenzira yakasarudzika, semuenzaniso: ro (verenga-chete) izvi zvinoreva kuti mafaera haakwanise kugadzirwa, kushandurwa kana kubviswa mune iyo faira system. Mumwe muenzaniso: kukanganisa = remount-ro (remount sekuverenga-chete) kana paine kukanganisa kwakakomba, iyo faira refaira rakaiswa mune yekuverenga-chete maitiro.

Tsvina: Dump chishandiso chekuchengetedza uye ini ndiri kungozvitaura nekuti ini handisati ndanyatsozvinzwisisa, uye zvakare handidi kuti vagare zuva rese vachifunga kuti izvi zvichavei. Kana iyo nhamba iri mukoramu iri 0 (zero), dump inofuratira iyo systemystem.

Pass: Tichatanga nekutsanangura kuti chii fschk. fschk chishandiso chekutarisa mafaera masisitimu zvikanganiso, nezvimwe. Iyi imwezve ikholamu yandinongoda kutumidza nekuda kwechikonzero chakafanana neicho chiri pamusoro. Kana iyo nhamba iri mukoramu iri 0 (zero), fschk inozozeya iyo systemystem.

Kana iwe uchida kuramba uchidzamisa ruzivo rwako rwe fstab, unogona kufarira kuverenga izvi zvinhu zvekare kubva ku blog.

Kushanda neiyo fstab faira

Kutanga tichaona chimiro cheiyi faira:

Mune ino faira, mutsetse wega wega unoreva faira system (systemystem) uye mutsetse wega wega unoremekedza chimiro chinotevera:


Ngationei muenzaniso:

UUID = d4f1ec7e-f3d3-4bd4-becf-4f6da208237f / ext3 zvikanganiso = remount-ro 0 1 / dev / sda5 / imba ext3 zvisizvo 0 2
Iwe watoona kare kuti mumutsara wekutanga iyo UUID (Yakasarudzika Universal Chizivikanwa, kune yayo chirevo muChirungu) yeiyo fileystem uye mune yechipiri nzira yeiyo imwechete (ini handireve iyo mount point). Kana isu tikashandisa iyo UUID, nzira yedu ichave yakasimba zvakanyanya.

Ungawana sei iyo chaiyo UUID pachikamu chimwe nechimwe?

Kune izvi ivo vanofanirwa kuita semidzi (kana kushandisa Sudo senge mune semuenzaniso) inotevera tambo:

sudo blkid

Uye isu tichaona chimwe chakadai.

/dev/sda1: UUID="B6F0C97EF0C94579" TYPE="ntfs"
/dev/sda5: UUID="d4f1ec7e-f3d3-4bd4-becf-4f6da208237f" TYPE="ext3"
/dev/sda6: UUID="b8146e8f-77aa-44b8-9b37-5a2a90706eea" TYPE="ext3"
/dev/sda7: UUID="57cfda85-b5ce-4288-b42e-c19dc57a65d9" TYPE="swap"/dev/sdb1: LABEL="Backup" UUID="5D9A907246C7446B" TYPE="ntfs"
Ndatenda Luis López!
Iwe unoda kutora chikamu mumakwikwi edu emwedzi nemwedzi uye ita mupiro kunharaunda?
Iwe unongofanira kutumira isu a mail kusanganisira hunyengeri kana mini-dzidziso yako wega.

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   kusazivikanwa akadaro

    Vanhu vanozvitaura ivo pachavo kunze kwekurovedza muviri zviri nyore, uye zvinopesana zvinogona kuve nyore.
    'Mufananidzo uyu unongonetsa vechidiki - na2010, zvinofungidzirwa makumi maviri neshanu muzana evasikana
    uye zvikamu gumi nezvinomwe kubva muzana zvevakomana vari pakati pemakore maviri kusvika gumi nemashanu vachaita
    kuva akafuta, nevasikana vari pasi pegumi vari panjodzi chaiyo.
    Kuva musimba kunogona kukurudzira hutano hwakanaka hwepfungwa uye kukubatsira kuti ushandise kusagadzikana, kushushikana uye kushushikana

    Shanyira webhusaiti yangu: ingo tinya inotevera webhusaiti

  2.   Pache Ko Morrison akadaro

    ruzivo rwakanaka ndatenda, pakutanga zvakange zvakandiomera kuti ndinzwisise mamwe maitiro, ikozvino zviri nyore, asi zvinotsanangurwa zvakanaka pano .. zvakanakisa

  3.   anymex akadaro

    kuti uwane rumwe ruzivo rwakadzama bvunza: https://wiki.archlinux.org/index.php/Fstab_(Espa%C3%B1ol)

  4.   shumbakb4 akadaro

    Ndatenda, ini handina kurangarira kuti zvakaitwa sei 😛

    uye ini ndinoida iyo yangu foni ... kwete kushandisa maapplication

  5.   Schluckauf akadaro

    Chinyorwa ichi hachina kukwana ... zvinongoenda kusvika pakuwana iyo UUID 🙁

  6.   wemuslim akadaro

    Uye ... unoisa sei zvikamu?