CPSC 1280 Lecture Notes - Lecture 9: Inode, Grep

54 views4 pages

Document Summary

Road map: filesystem, index node, file attribute, pathname, links. Inode: system organize file attributes separately from content, file and directory entries are identified by inode number. Multiple names for one inode: the inode doesn"t contain inode number, inode number starts from 1 in every filesystem. Files in two file systems may have the same inode number: possible to consume all inodes before disk is full, number of inodes are limited in file system, large number of small files. File types: ordinary or regular file, directory, device file, symbolic link. Why do we need to make this distinction: same command can handle multiple file types cp foo1 foo2 cp foo1 /users/wcai, instead of having different commands to handle these three situations, a single command can do the job. Advantages: two files can have same name (with different path, easier user access control for system administrators, assign directories with different privileges.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents