Me pehea te whakaora i nga konae mai i te ngaro + kua kitea

Me pehea te whakaora i nga konae mai i te ngaro + kua kitea: Ko te kōpaki tika / ngaro + i kitea ko te wahi e whakatakoto ana a fsck i nga waahanga o nga konae kaore i taea e ia te piri ki hea ake o te raarangi whaiaronga. Ko te whaiaronga kua ngaro + kua kitea (kaore i ngaro + I kitea) he hangahanga e whakamahia ana e te fsck i te wa e pakaru ana te punahae. Ko nga konae ka ngaro noa na te mea he pirau whaiaronga ka hono ki roto i te whaiaronga o te filesystem kua kitea + e te tau inode.

Me pehea te whakaora i nga konae mai i te ngaro + kua kitea

/ ngaro + i kitea he raarangi nui he pai mo te whakaora i nga konae kaore i te kati tika na te maha o nga take penei i te ngoikore o te hiko. Ko te Lost + Found e hangaia ana e te punaha i te waa o te whakauru OS Linux mo ia arai ka hangaia e maatau. I etahi atu kupu, ka taea e taatau te kii kei te kōpaki kua whakaekehia tenei kopaki kua ngaro + kua kitea. Kei tenei kōpaki nga konae kaore he hononga me nga konae hei whakaora ake. Ko nga konae hei whakahoki mai ka mau ki tenei kopaki. Ka whakamahia te whakahau fsck ki te whakahoki mai i enei konae.



Ihirangi

Me pehea te whakaora i nga konae mai i te ngaro + kua kitea

1. Mena kaore e taea e koe te whakaeke me te kite i te mata Taria tonu; Patohia te S ki te peke i te whakaturanga M ranei mo te whakaora a-ringa na te he o te punaha o te konae i roto i nga waahanga waahanga / me / kaainga Na ka tohua te waahanga whakaora.

2. Whakahaerehia fsck i runga i te rua / me te / kaainga punaha konae.

3. Mena ka raru koe ki te whakakore i te fsck mo / te kaainga ka whakamahi:

 fsck -p /home (Automatic fixing) 'fsck -y /home' (this would select yes for all the prompts automatically).

4. Na ka taea e koe haere tika / kaainga mai i a Fsck angitu.

5. Mena ka whakamatauhia e koe te maunga / kaainga kaore he konae o nga konae kaiwhakamahi ngaro + kitea raarangi. Rere df -h a ka kite koe ka whakamahia e to punaha konae te waahi ano i mua o te tukinga na te mea kei roto katoa nga konae i te raarangi kua ngaro + kua kitea ka hoki mai ano matou.

6. Na kei roto i te kopaki kua ngaro + kua kitea, ka kite koe he maha nga waahanga kaore he ingoa me te tirotiro i a raatau ka moumou i to waa. No reira me rere ano taatau konae * ki te mohio ko tehea momo konae e korero ana matou.

#7479417: directory #7479418: directory #7479419: directory #7602560: directory #7603310: MPEG sequence, v2, program multiplex #7603464: JPEG image data, JFIF standard 1.02 #7603542: Audio file with ID3 version 2.3.0, contains: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, JntStereo #7604043: ISO 9660 CD-ROM filesystem data 'Linux Mint 9 Isadora ' (bootable) #7604089: ISO 9660 CD-ROM filesystem data 'netbook-x86_64-201005242312 ' (bootable) #7605425: MPEG sequence, v2, program multiplex #7605470: MPEG sequence, v2, program multiplex #7605484: MPEG sequence, v2, program multiplex #7607478: gzip compressed data, from Unix, last modified: Fri May 14 07:55:35 2017 #7607788: gzip compressed data, from Unix, last modified: Tue May 4 14:16:31 2017 #7610801: PDF document, version 1.4 #7612061: ISO 9660 CD-ROM filesystem data 'Ubuntu 10.04 LTS amd64 ' (bootable) #7613228: directory #7613583: directory #7613588: directory

7. Na kia taatahia te hua na te mea e hiahia ana matou kia uru mai te raarangi ki ta maatau hua. Na rere konae * | whaiaronga grep> / root / list.dir whakahau

8. Hei muri, whakatika /root/list.dir kia waiho hei tuhinga hei whakaatu i te raarangi o nga konae ki ia raarangi. Whakatikahia te konae kia waiho hei tuhinga hei whakamahi i te vi, vim, nano. Taapirihia te huinga -v ki te raina tuatahi ka taapiri ‘ ls -l 'Ki te timatanga o era atu raina.

set -v ls -l #10104455 ls -l #10104531 ls -l #10104536

9. Na, mahia te Ka taea te kawe ka whakahaerea ka whakahoki i te putanga ki tetahi konae:

chmod -x /tmp/list.dir ./list.dir 1> /tmp/list.out 2>&1

10. Tena Rapua te konae hei tauira Papamahi kei roto i te konae whakaputa . Ko te mutunga ka penei:

ls -l #7733249 total 5704 drwxr-xr-x 2 1002 1002 4096 2017-06-05 13:24 Desktop drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Documents drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Downloads -rw-r--r-- 1 1002 1002 179 2017-04-30 09:14 examples.desktop drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Music drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Pictures drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Public -rw-r--r-- 1 1002 1002 5794003 2017-05-15 11:00 scrap001_a.ora drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Templates -rw-r--r-- 1 1002 1002 1265 2017-05-20 14:35 tinda chuteny drwxrwxr-x 2 1002 1002 4096 2017-05-23 14:57 Ubuntu One drwxr-xr-x 2 1002 1002 4096 2017-04-30 09:15 Videos

11. Ko te putanga i runga ake nei i tohu ko te raarangi kaainga # 7733249 . Na ki te whakaora i te kopaki kaainga noa i te kōpaki:

mv /lost+found/#7733249 /home/yourUsername

Panui: Whakakapihia to ingoa kaiwhakamahi ki te ingoa kaiwhakamahi pono o to Whakauru Linux.

Tikanga 2: Whakamahia te tuhinga hei whakaora aunoa i nga konae

Tuatahi, oma sudo -i he ranei sudo su - ka whakahaere i te tuhinga o raro ake nei e rere ana i runga i te filesystem / dev / sd ?? me nga putanga ki / tmp / raarangi:

fsck -y /dev/sd?? mkdir /tmp/recover mount /dev/sd?? /tmp/recover -o rw cd /tmp/recover-lost+found ( echo ‘set -v’ file * | grep directory 2>/dev/null | perl -pe ‘s/^(#[0-9]+):.*$/ls -l ‘‘‘$1'‘‘/’ ) | sh > /tmp/listing

Koina ra kua pai to ako Me pehea te whakaora i nga konae mai i te ngaro + kua kitea engari ki te mea he paatai ​​ano ta koutou mo tenei tuhinga korero mai ki a ratou i te waahanga korero.

A Editor Choice


He aha te Kaute Kaiwhakamahi me te Whakaahua Kaiwhakamahi kei nga matapihi 10, 8.1 me te 7

Matapihi 10


He aha te Kaute Kaiwhakamahi me te Whakaahua Kaiwhakamahi kei nga matapihi 10, 8.1 me te 7

Anei te rereketanga nui i waenga i te tohu kaiwhakamahi me te kaute a nga kaiwhakamahi, me pehea te Hanga, Te Muku me te whakahaere i nga Kaute Kaiwhakamahi me nga tohu o te Matapihi 10, 8.1 me te 7

Pānuitia Atu
Whakatikahia te Waea WhatsApp Kaore i te Piira i te Android

Ngohengohe


Whakatikahia te Waea WhatsApp Kaore i te Piira i te Android

Karanga a WhatsApp Kaore i te waea i runga i te Android? Arotake i nga Tautuhinga Panui me nga Whakaaetanga App, Whakatakotoria te Raupaparorohiko Taunoa taunoa, Monokia te Tiaki Puhiko

Pānuitia Atu