Question
Option 3 : Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है
Detailed Solution
सही उत्तर Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है है।
Question:
An ext4 server was seized mid-write during log tampering. The examiner hopes the journal still contains the overwritten log file's data blocks. Under which ext4 journaling mode would that hope be justified? / लॉग छेड़छाड़ के दौरान लिखते समय ext4 सर्वर जब्त किया गया। परीक्षक आशा करता है कि जर्नल में अभी भी अधिलिखित लॉग फ़ाइल के डेटा ब्लॉक हैं। किस ext4 जर्नलिंग मोड में यह आशा उचित होगी?
Correct Answer: Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है
Only data=journal mode commits actual file data blocks to the journal; ordered (the default) journals metadata while writing data directly, and writeback may journal metadata before data reaches disk. Option (a) traps with "the default must be the safest" reasoning. / केवल data=journal मोड वास्तविक फ़ाइल डेटा ब्लॉकों को जर्नल में कमिट करता है; ऑर्डर्ड (डिफ़ॉल्ट) मेटाडेटा जर्नल करता है जबकि डेटा सीधे लिखता है, और राइटबैक डेटा डिस्क पर पहुँचने से पहले मेटाडेटा जर्नल कर सकता है। विकल्प (a) "डिफ़ॉल्ट सबसे सुरक्षित होगा" तर्क का जाल है।