פורסם 2005 באפריל 2620 שנים יש לי ויכוח עם חבר שליהוא טוען שהפקודה del בדוס מוחקת את הקובץ לצמיתותאני טוען ויודע שהפקודה רק משנה את התו הראשוןאיך אני יכול להוכיח לו שהוא טועה
פורסם 2005 באפריל 2620 שנים את התו הראשון של מה ? בכל מקרה הוא לא מוחק לצמיתות, כי ניתן לשחזר אותו (אם לא נכתב מידע על הדיסק). אבל זה פעולה לא טריויאלית.
פורסם 2005 באפריל 2620 שנים מחבר את התו הראשון של מה ? בכל מקרה הוא לא מוחק לצמיתות, כי ניתן לשחזר אותו (אם לא נכתב מידע על הדיסק). אבל זה פעולה לא טריויאלית.אם אני מוחק קובץ בעזרת del אז למשל הקובץ mouse.com יהפוך ל - ouse.com_ אני צריך להוכיח את זה , אתר או בצורה פרקטית , איך אפשר?
פורסם 2005 באפריל 2620 שנים אוקי, הנה תשובה:http://students.cs.byu.edu/~cs345ta/labs/winter04_specs/lab_fat_help.htm#Organization%20of%20the%20file%20allocation%20tables%20(FAT)חפש שם Q&A: How DOS deletes files/directoriesAs you may know, DOS does not immediately erase a file or directory when it is deleted. In fact, it does nothing to the clusters that contain the information (this is why it is sometimes possible to un-delete something). However, DOS does zero out the file/directory's cluster chain from the FAT table (see Organization of the file allocation tables (FAT)), and places a special character (0xe5) in the first byte of the directory entry (see Directory structures and their fields), signaling that this entry has been deleted. You will need to do the same when a file or directory is deleted. Start with the cluster indicated in the directory entry, traverse the cluster chain, and set each FAT entry to zero including the EOC entry.The special code 0xe5 (as a character, this is a lower-case a with a circle above it) located in the first byte of a directory entry, indicates that this directory entry is free, and may be overwritten with a new entry in the future. Place this value in the first byte of the directory entry to effectively delete it (it will be the first character of the file/directory name field). When reading directory entries, ignore all entries that begin with 0xe5 (see Formatting and printing directory entries).בפועל מה שקורה, הוא מסמן את הקובץ ע"י החלפת האות הראשונה כניתן למחיקה, וגם מוחק את הנתונים שלו מה FAT (ככה שאם אתה כותב על הכונן, זה יכול לעשות OVERRIDE לנתונים שלו).
פורסם 2005 באפריל 2720 שנים מחבר תודההשאלה היא איך מוכיחים את זה בפועלאני זוכר שאפשר בעזרת dir לראות את הקבצים ששמם שונהאני פשוט לא זוכר איפה הוא זורק אותם
פורסם 2005 באפריל 2720 שנים לא זכור לי ש DIR מראה קבצים שנמחקו.. אני זוכר שבימי ה DOS ראיתי אותם עם תוכנות מיוחדות שמראות את ה FAT... בכל מקרה, יש פה הסבר מדיוק של מה קורה.. אני לא מבין מה הבעיה..
פורסם 2005 באפריל 2720 שנים בימי ה-dos הטהור היה פקודת undelete שפשוט היתה מראה לך את כל הקבצים שנמחקו ועדיין לא נדרסו וכמובן איפשרה לך לשחזר אותם.היום בדוס של וינדוס פקודת del מבצעת את המחיקה שוינדוס עושה וכבר לא קיים כל העסק הזה של שינוי השם וסימונו כפנוי. בנוסף אם תעשה היום undelete זה פשוט יגיד לך שזה לא נתמך יותר.
ארכיון
דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.