2 Answers - Sort by: Date | Rating
Unix provides a file system in which all these processes, connections and devices are accessed via files. It provides special file types for interprocess communication. Following are the file types provided by Unix.
1. Regular Files
2. Directory Files
3. Block Special Files
4. Character Special Files
5. FIFO
6. Socket
Regular files are also called plain files. These file are used to data that can be in the form of text or binary strings. These files can contain the data entered by the user or it can also used to store the data generated by the application programs. Kernel also uses plain files to store the application programs.
Directory files are used to store the names of other files and pointers. Pointers provide us information about the location where contents of file are stored. Process can only read the directory files if read permission is granted but processes cannot write the directory files. Directory files can only be written by the kernel.
Unix system uses files to access devices attached to the system. These files are also called as device files. Device files are either block special or character special. Block special files usually used for disks as data from the disk is accessed in the form of blocks. Keyboards and networking devices transfer data asynchronously(character by character) therefore character special files are used for these devices. FIFO files are used for interprocess communication and sockets are for network communications. Socket can also be used for interprocess communication.
1. Regular Files
2. Directory Files
3. Block Special Files
4. Character Special Files
5. FIFO
6. Socket
Regular files are also called plain files. These file are used to data that can be in the form of text or binary strings. These files can contain the data entered by the user or it can also used to store the data generated by the application programs. Kernel also uses plain files to store the application programs.
Directory files are used to store the names of other files and pointers. Pointers provide us information about the location where contents of file are stored. Process can only read the directory files if read permission is granted but processes cannot write the directory files. Directory files can only be written by the kernel.
Unix system uses files to access devices attached to the system. These files are also called as device files. Device files are either block special or character special. Block special files usually used for disks as data from the disk is accessed in the form of blocks. Keyboards and networking devices transfer data asynchronously(character by character) therefore character special files are used for these devices. FIFO files are used for interprocess communication and sockets are for network communications. Socket can also be used for interprocess communication.
0
0
Basic file types in UNIX are given below.
1. Regular file
2. Directory
3. Executable file
4. Symbolic link
5. Device special file
5. Named pipe
1. Regular file
2. Directory
3. Executable file
4. Symbolic link
5. Device special file
5. Named pipe
0
0
- Write A Program To Accept Two Matrices And Perform Addition And Multiplication Operation On The Two Matrices?
- Task1.1 : Write A Program To Accept 10 Numbers And Then Prints Them In Reverse Order. Question : Modify Task 1.1, So That The Program Will Also Print The Total Sum Of All The Numbers Entered By The User?
- Write A Program To Accept 10 Numbers And Then Prints Them In Reverse Order?
- How To Create A Header File In C Language?
- What Is Difference Between HTML Vs XHTML?
- How The Efficiency And Integrity Of The Data Is Maintained At All?
- A Form In Visual Basic Is Best Described As What?
- How To Update The Sim 3 Expansion?
- Program To Calculate Change The Name To Write In Any Word In English And It Will Convert To Change Any Language Of User?
- What Are The Risks In Undertaking A Systems Analysis And Design Activity?
- Do While Loop In C++ Output?
- What Is File-based Approach?
- What Is Cascading Rollback?
- How Do I Create An SQL Queries That Show: Student Name, Address, And Contact Information For All Students? Student Name And The Certificate Program For Which They Are Registered Student Name And The Courses For Which They Are Registered?
- I Need To Create A System Where Students Can Register For One Of 5 Certificates, Select Courses, And Obtain A Transcript Of The Grades Received For The Courses. Each Student Can Be Enrolled For Only One Certificate. There Are 4 Courses In Each Cert?
- How The Efficiency And Integrity Of The Data Is Maintained At All Times Although The Database Is Used By Varying Organisational Levels? 2 Examples
- What Is An Attribute In Java?
- How About Links Of London?
- When You Create A New COM Component In Visual Basic, You Choose The Following Template?
- What Parts Of Wordpad?
- What Is Indexed File Organization?
- How The Performance Of Database?
- How Is That The Additional Hardware Affect The Data Base Management System?
- How Do You Automate Starting And Shutting Down Of Databases In Unix?
- How Design An Algorithm For The SIMD Computer To Calculate The Sum Of An Array (A) Of 8 Elements. Assume That Element Ai Is Stored In The Local Memory Of PEi, Where I=1,2,3,.......4?
- What Are The Types Of Unix Os?
- How Many Basic Types Of Gears Are There?
- What Are The Three Basic Different Types Of Joint?
- What Are The Basic Types Of Firewalls?
- What Are The Three Basic Types Of Rocks?
- What Are The 3 Basic Types Of Networking?
- What Are The Three Basic Types Of Instruments?
- What Is The Basic Difference Between A File System And A Database Systems?

New Comment - Comments are editable for 5 min.