You are on page 1of 2

FILE SYSTEM MANIPULATION

Programs need has to be read and then write them as files and directories. File handling
portion of operating system also allows users to create and delete files by specific name
along with extension, search for a given file and / or list file information. Some programs
comprise of permissions management for allowing or denying access to files or directories
based on file ownership.

A file system is normally


organized into directories for
easy navigation and usage.
These directories may
contain files and other
directions. Following are the
major activities of an
operating system with
respect to file management –
File organization and manipulation is an essential skill for using a computer. We
have summarized below some of the basic operations that are used to perform
these tasks. Keep in mind that there are many ways to perform these operations,
and we have suggested one possible approach that is reasonably consistent
among various versions of the Windows operating system. If you know another
approach from your previous computer work, use that approach.

FUNCTIONS OF FILE SYSTEM

Table: Functions for File and Directory Manipulation


Name Use Arguments
chair Change current directory scalar directory name
chimed Change permissions on files scalar(mode), list of filenames
chow Change ownership of files scalar(aid),scalar(gird),list of files
link Create hard link to a file scalar(old file),scalar(new file)
mkdir Create a new directory scalar(filename), scalar(mode)
rename Rename a file scalar(old name),scalar(new name)
rmdir Remove a directory scalar(filename)
umask Display or set umask scalar(unmask)
unlink Remove a file list of filenames

 In order to manage data on computer, one has to interact with the File System directly or
indirectly.
 When we install Hadoop on our computer, actually there are two file system exists on
machine
(1) Local File System , 
(2) HDFS (Hadoop Distributed File System)
 HDFS is sits top on of Local File System.
Following are the genera functions of File System (be it Local or HDFS)

 Control the data access mechanism (i.e how data stored and retrived)
 Manages the metadata about the Files / Folders (i.e. created date, size etc)
 Grants the access permission and manage the securities
 Efficiently manage the storage space
For more details, please follow: HDFS
 September 20, 2018 at 4:53 pm#5983
DataFlair Team
 File system manages user data that is how data is read, write and accessed.
 FS is the structure behind how our system stores and organizes data.
 FS stores all the information bout the file (metadata) like file name, the length of the
contents of a file, and the location of the file in the folder hierarchy—separate from the
contents of the file.
 The main role of FS is to make sure that what/whoever is accessing the data and whatever
action is taken the structure remains consistent.

You might also like