wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

File System

profile
ANUJ YADAV
Sep 08, 2024
0 Likes
0 Discussions
94 Reads

Files and File Systems

 

 From the user’s point of view, one of the most important parts of an operating system is the file system. The file system provides the resource abstractions typically associated with secondary storage. The file system permits users to create data collections, called files, with desirable properties, such as:

 • Long-term existence: Files are stored on disk or other secondary storage and do not disappear when a user logs off.

• Sharable between processes: Files have names and can have associated access permissions that permit controlled sharing.

• Structure: A file can have an internal structure that is convenient for particular applications. In addition, files can be organized into hierarchical or more complex structure to reflect the relationships among files.

File system provides typical operations include the following:

• Create: A new file is defined and positioned within the structure of files.

• Delete: A file is removed from the file structure and destroyed.

 • Open: An existing file is declared to be “opened” by a process, allowing the process to perform functions on the file.

• Close: The file is closed with respect to a process, so that the process no longer may perform functions on the file, until the process opens the file again.

• Read: A process reads all or a portion of the data in a file.

• Write: A process updates a file, either by adding new data that expands the size of the file or by changing the values of existing data items in the file.

 Typically, a file system maintains a set of attributes associated with the file. These include owner, creation time, time last modified, access privileges, and so on.

File Structure

 Four terms are in common use when discussing files:

 • Field

 • Record

• File

• Database

A field is the basic element of data. An individual field contains a single value, such as an employee’s last name, a date, or the value of a sensor reading. It is characterized by its length and data type (e.g., ASCII string, decimal). Depending on the file design, fields may be fixed length or variable length.

 A record is a collection of related fields that can be treated as a unit by some application program. For example, an employee record would contain such fields as name, social security number, job classification, date of hire, and so on. Again, depending on design, records may be of fixed length or variable length. A record will be of variable length if some of its fields are of variable length or if the number of fields may vary.

A file is a collection of similar records. The file is treated as a single entity by users and applications and may be referenced by name. Files have file names and may be created and deleted. Access control restrictions usually apply at the file level.

A database is a collection of related data. The essential aspects of a database are that the relationships that exist among elements of data are explicit and that the database is designed for use by a number of different applications. A database may contain all of the information related to an organization or project, such as a business or a scientific study. The database itself consists of one or more types of files. 


Comments ()


Sign in

Read Next

What is a geographic information system (GIS)?

Blog banner

Risk mitigation and management

Blog banner

Paginng In OS

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Risk management in IT

Blog banner

The Features of Blockchain

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

Importance Of Yoga.

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

LISP - Library Management System

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

Dancing Classes In Mumbai

Blog banner

Virtual Memory

Blog banner

My First Dream Bike

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Short note on expert system

Blog banner

Financial Fraud Detection

Blog banner

Modern Operating System

Blog banner

RAID and It's Levels

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Process Description

Blog banner

Online Education

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Blog on Smartsheet.

Blog banner

Big O Notation

Blog banner

Music is life

Blog banner

Making Money through Instagram

Blog banner

Stop Racism

Blog banner

Number Guessing game --lisp

Blog banner

Virtual Machine

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

OS ASSIGNMENT

Blog banner

Virtual Memory

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

Fashion marketing in india

Blog banner

Webmail

Blog banner