6 Flashcards
open files
open-file table tracks open files
pointer points to last read/write location
file-open count - count of number of times a file is open
sequential vs direct
sequential
-read next
-write next
-reset
direct
-read n
-write n
- postiion to n
acyclic-graph directories
have shared subdirectories and files
Hard link
poiint to same inode, if original file deleted the link remains
soft link
point to file, if original file deleted it cant be accessed
types of access
read
write
execute
append
delete
list
attach a group to a file
chgrp g game
e.g. chmod 761 filename
disk structure
disk subdivided into partitions
disks or partitions can be RAID protected against failure
can be used raw without a file system
what is entity containing file system
volume, each volume containg a file system also tracks that file systems info in volume table of contents
partition
can be volume containing a file system (“cooked”) or raw
root partition
contains os, can hold other partitions
general vs proc file system
general - Ext4 -> implements
proc- does not store data, contents computed on demand according to user I/O requests
journaling
file system updates first written to a log file in the form of transactions
variety of I/O devices
-storage
-transmission
-human-interface
port
connection point for device