Computer AwarenessVery hardIBPS SO IT Officer
In a UNIX-like file system, a file's inode stores all of the following EXCEPT the file's:
- A. Size
- B. Name
- C. Access permissions
- D. Pointers to its data blocks
Correct answer: B. Name
Names live in directory entries that map a name to an inode number; that is why one inode can have several hard-linked names. Size, permissions and block pointers are in the inode.
हिंदी में
UNIX-जैसे फ़ाइल सिस्टम में, फ़ाइल का इनोड निम्नलिखित सब संग्रहीत करता है, सिवाय फ़ाइल के:
- A. आकार
- B. नाम
- C. एक्सेस अनुमतियाँ
- D. उसके डेटा ब्लॉकों के पॉइंटर
उत्तर: B. नाम डायरेक्टरी प्रविष्टियों में रहते हैं जो नाम को इनोड संख्या से जोड़ती हैं; इसीलिए एक इनोड के कई हार्ड-लिंक्ड नाम हो सकते हैं। आकार, अनुमतियाँ और ब्लॉक पॉइंटर इनोड में होते हैं।
More Computer Awareness questions
- A file report.txt has one hard link and one symbolic link pointing to it. The original name report.txt is then deleted. What happens?
- In Linux, the command chmod 754 file gives the file which permission string?
- Match the Windows shortcut with its action: 1. Windows + L 2. Windows + D 3. Alt + F4 4. Alt + Tab; a. Show the desktop b. Close the…
- A program calls fork() three times in a row, with no conditions, and every call succeeds. How many processes exist in total, counting the…
- A user program divides an integer by zero. What does the processor generate?
- Why do processors provide separate user mode and kernel (supervisor) mode?