dd: nga tauira o tenei whakahau pukenga

dd

El Kei te tino mohiotia te tohu dd i Linux. He whakahau tino mohio tenei, engari he iti nei e mohio ana he aha nga mea ka taea e ia ki tua atu o te tautoko o te purongo korero takai ranei. Koina ahau i whakatau ai ki te hanga i tenei akoranga ngawari me nga tauira whaihua mo ta tenei whakahau dd ka taea. He tauira ngawari katoa era o nga mea hei mahi i ia ra.

Kaati, ki taku mohio kua mohio koe he aha te dd he whakahau a te whanau UNIX a ma tera ka taea te kape me te huri i nga raraunga i te taumata iti, no reira he kaha rawa. I whakamahia noa hei hanga taapiri he kape taapiri ranei o etahi papanga rokiroki, engari hei whakawhiti i nga raraunga motuhake, huri mai i tetahi momo whakawaehere ki tetahi atu, etc. Ahakoa te ahua nei he taputapu nohinohi tonu, kei te whakamahia tonutia ...

Ētahi tauira whaihua me te ngawari o tenei ota ko:

  • Whakamaerehia tetahi puku pakeke ki tetahi atu na ko te sdb he kape tika o te tuhinga sda:

dd if=/dev/sda of=/dev/sdb

  • Hangaia he kape taapiri o te whaiaronga, he konae, tetahi waahanga ranei ka hanga i tetahi ahua (IMG, ISO, ...):

dd if=/dev/sda4 of=/home/backup/imagen.img

  • Whakaorangia te taapiri o mua:

dd if=/home/backup/imagen.img of=/dev/sda4

  • Hangaia he ISO o te kopae whatu:

dd if=/dev/dvdrom of=/home/media/imagen.iso

  • Mukua nga raraunga mai i te kopara ma te taarua:

dd if=/dev/random of=/dev/sdb

  • Hangaia tetahi konae me te rahi, i tenei keehi 10 paita, engari ka taea e koe te tohu i te rahinga e hiahia ana koe, a mena ka whakarerekehia e koe te tatau ki te 2, hei tauira, ka ruarua:

dd if=/dev/zero of=~/prueba bs=100 count=1

Ko te tumanako kua awhinahia koe e tenei akoranga, na te mea ka kite koe he tino ngawari, engari ka taea e koe te whakaora i etahi atu papatono taapiri. Hei tauira, ki te hiahia koe ki te hanga ISO mo tetahi CD / DVD / BD, ka taea e koe te whakamahi i te dd kaua ki te whai raupaparorohiko motuhake mo tera. He whakamaumahara ano tera ki ahau mo te / dev / koropiko te taputapu koropiko ranei, ka awhina ano koe ki te whakauru ISO me te whakauru ki nga korero o roto kaore he raupaparorohiko taapiri… Kia mahara ka kite koe i etahi atu korero mo dd me "man dd". He maha ake ano nga waahanga ka pai pea ki a koe.


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

Hei tuatahi ki te korero

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.