unix file system layout n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
UNIX File System Layout PowerPoint Presentation
Download Presentation
UNIX File System Layout

Loading in 2 Seconds...

play fullscreen
1 / 5

UNIX File System Layout - PowerPoint PPT Presentation


  • 68 Views
  • Uploaded on

UNIX File System Layout. boot block contains bootstrap code that is read into the machine to boot the operating system super block describes the state of a file system, how large it is, how many files it can store, where to find free space on the file system, etc

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'UNIX File System Layout' - emma


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
unix file system layout
UNIX File System Layout
  • boot block contains bootstrap code that is read into the machine to boot the operating system
  • super block describes the state of a file system, how large it is, how many files it can store, where to find free space on the file system, etc
  • inode list is a list of inodes (explained later)
  • data blocks store file data and administrative data

boot

block

super

block

inode list

data blocks

inodes index nodes
Inodes (Index Nodes)
  • inodes exist in a statis form on disk, it consists of
    • file owner (individual owner and group owner)
    • file type (regular, directory, character/block device, ...)
    • access permission (r-xr-x---)
    • access and last modify time (of file and inode)
    • number of links to the file
    • pointers to data blocks
    • file size
  • see Fig. 11.7 on the textbook
directory block
Directory Block
  • notably missing from inode information is the file name
  • file name is kept in a directory entry of directory block
  • the first two entries in a directory have names . and ..

5

foo.c

3

bar

6

mumble

to

inode

to

inode

unused

space

to

inode

hard links
Hard Links
  • an inode can be linked from many different directory entries, i.e., it may have many names

5

foo.c

3

bar

6

mumble

to

inode

inode

2714

reference count = 2

symbolic soft links
Symbolic (Soft) Links
  • a symbolic link is a special file that contains a pathname.

Hello, world

/usr/joe

foo

/usr/sue

/usr/joe/foo

bar

file

content

inodes

directories