Professional Documents
Culture Documents
FILE SYSTEM
BK
TP.HCM
File Concept
Access Methods
Directory Structure
File System Mounting
File Sharing
Protection
BK
TP.HCM
numeric
character
binary
Program
BK
TP.HCM
BK
TP.HCM
Fixed length
Variable length
Complex Structures
Formatted document
Program
BK
TP.HCM
BK
TP.HCM
BK
TP.HCM
BK
TP.HCM
Files
F1 F2 F4
F3
Fn
BK
TP.HCM
Name
Type
Address
Current length
Maximum length
Date last accessed (for archival)
Date last updated (for dump)
Owner ID (who pays)
Protection information (discuss later)
BK
TP.HCM
BK
TP.HCM
Naming problem
Grouping problem
BK
TP.HCM
•Path name
•Can have the same file name for different user
•Efficient searching
•No grouping capability
BK
TP.HCM
BK
TP.HCM
Efficient searching
Grouping Capability
BK
TP.HCM
directory.
Delete a file prog copy prt exp count
rm <file-name>
Creating a new subdirectory is done
in current directory. Deleting “mail”
mkdir <dir-name> deleting the entire
subtree rooted by “mail”.
Example: if in current directory
/mail
mkdir count
BK
TP.HCM
BK
TP.HCM
BK
TP.HCM
BK
TP.HCM
BK
TP.HCM
A unmounted file
system (I.e. Fig. 11-
11(b)) is mounted
at a mount point.
BK
TP.HCM
Types of access
Read
Write
Execute
Append
Delete
List
BK
TP.HCM