Physical File & Logical File in Hindi – फिजिकल और लॉजिकल फाइल क्या है?

Hello friends!
इस पोस्ट में Physical File & Logical File in Hindi – फिजिकल और लॉजिकल फाइल क्या है? के बारे में पूरी जानकारी आसान हिंदी भाषा में समझाई गई है। यदि आप इस टॉपिक के बारे में जानना चाहते हैं, तो इस पोस्ट को पूरा जरूर पढ़ें।

परिचय (Introduction)

Operating System और File System में Physical File और Logical File दो महत्वपूर्ण concepts हैं। अक्सर students को confusion होता है कि file actually disk पर कैसे store होती है और user को वह कैसे दिखाई देती है। इन्हीं दोनों levels को समझाने के लिए physical और logical file का concept use किया जाता है।

Logical File vs Physical File Logical File (User / Program View) File Name, Size, Type Mapped To Physical File (Disk / Storage View) Disk Blocks Physical Address • User sees file logically • Independent of storage • Stored on disk • Managed by OS

Logical File क्या होती है?

Logical File वह file होती है जिसे user या application देखती और use करती है। यह file system के logical view का हिस्सा होती है और user के लिए meaningful नाम, structure और format में होती है।

Examples:

  • notes.pdf
  • photo.jpg
  • report.docx

User logical file के through ही read/write operations करता है।


Physical File क्या होती है?

Physical File disk पर actually stored data blocks को represent करती है। यह file system के physical view का हिस्सा होती है और sectors, blocks तथा tracks के रूप में disk पर मौजूद रहती है।

User को physical file directly दिखाई नहीं देती। OS logical file को physical file से map करता है।


Logical File और Physical File के बीच Mapping

जब user किसी file को open करता है:

  1. User logical file को access करता है
  2. File system logical file को locate करता है
  3. OS disk के physical blocks को access करता है
  4. Data user तक पहुँचता है

Physical File और Logical File में अंतर

आधारLogical FilePhysical File
User visibilityVisibleNot visible
LevelHigh-level viewLow-level view
LocationFile system namespaceDisk blocks/sectors
AccessUser/ApplicationOS/Hardware
Exampleexam.pdfDisk block addresses

Physical और Logical File क्यों जरूरी हैं?

  • User simplicity बनाए रखने के लिए
  • Disk management efficient बनाने के लिए
  • Data abstraction provide करने के लिए
  • Portability और security के लिए

Real-Life Example

  • Logical file = Book name
  • Physical file = Pages stored on shelf

Reader को book का नाम पता होता है, shelf location नहीं।


FAQs – Physical vs Logical File

Logical file क्या होती है?

User को दिखाई देने वाली file।

Physical file क्या होती है?

Disk पर actual stored data blocks।

Mapping कौन करता है?

Operating System और File System।


निष्कर्ष (Conclusion)

Logical File और Physical File OS के file system abstraction का core हिस्सा हैं। Logical file user-friendly interface देती है जबकि physical file disk level storage को manage करती है। दोनों के सही तालमेल से efficient file handling संभव होती है।


👉 Next Topic: Critical Section in Hindi – क्रिटिकल सेक्शन क्या है?

Leave a Comment