Lecture10 - CSCE313Introductionto ComputerSystems...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCE 313 Introduction to  Computer Systems Instructor: Dr. Ronnie Ward Based on material from Dr. Guofei Gu
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The UNIX File System File Systems and Directories Accessing directories UNIX inodes Understanding links in directories File protection/access control Reading: R&R, Ch 5
Background image of page 2
A Typical File-system Organization
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Directories Large amounts of data:  Partition and structure for easier access. High-level structure: partitions  in MS-DOS minidisks  in MVS/VM file systems  in UNIX Directories :  Map file name to data (basically a symbol table).
Background image of page 4
Organize the Directory (Logically) to Obtain Efficiency – locating a file quickly Naming – convenient to users Two users can have same name for different files The same file can have several different names Grouping – logical grouping of files by properties, (e.g., all  executable files, all object libraries, all temporary files, …) Not the same ‘group’ as used in access permission
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Directory Structures Single-level directory: Problems: limited-length file names multiple users? not composable (how do you combine multiple file systems?) directory entry file
Background image of page 6
user3 user4 user2 user1 Path names Location of system files special directory search path master directory user directories file Two-Level Directories
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
create  subdirectories new concepts: current directory path names: complete vs. relative search paths xterm xmh xman xinit ... include demo bin openw netsc mail bin pub bin user cp ls count find xmt gdb gcc ... user3 user2 user1 Tree-Structured Directories
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/14/2012 for the course CSCE 313 taught by Professor Gu during the Spring '11 term at Texas A&M.

Page1 / 23

Lecture10 - CSCE313Introductionto ComputerSystems...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online