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

Service transistion under difficult conditions

Blog banner

LISP - Library Management System

Blog banner

Satellite Based Positioning

Blog banner

How To Secure Operating Systems ?

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Dr. Venkadavarahan

Blog banner

Multicore and multithreading 171

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

OPERATING SYSTEM

Blog banner

Cache Memory

Blog banner

Compromising Mobile Platforms

Blog banner

RAID_142

Blog banner

Theads

Blog banner

Virtual memory

Blog banner

TRAIN TRAVELING

Blog banner

Danger assessment in GIS

Blog banner

Decision Tree: A Diagram Model

Blog banner

I/O Management and Disk Scheduling

Blog banner

Developments in Modern Operating Systems

Blog banner

Buffering

Blog banner

AI and Cyber Security

Blog banner

Life of a 2020-2021 student

Blog banner

VPN

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Internet of Things

Blog banner

Diwali

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

Buffer overflow

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Logical and physical address

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Malware Defense

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Memory Management

Blog banner

Health is Wealth

Blog banner

Evolution of Operating System

Blog banner

Importance of Website

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

virtual memory

Blog banner

Veg Mix Pickle

Blog banner