mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
48 lines
1018 B
Markdown
48 lines
1018 B
Markdown
---
|
|
title: "05-filesystems"
|
|
tags:
|
|
- lecture
|
|
- cosc301
|
|
-
|
|
---
|
|
|
|
access control models
|
|
- DAC - subject centered
|
|
- MAC - object centered
|
|
- RBAC
|
|
- ACL
|
|
- list of who can do what things to which files
|
|
-
|
|
|
|
backups
|
|
|
|
devices for file systems
|
|
- device naming conventions under /dev explanation
|
|
- full
|
|
- easy, costly
|
|
- incremental
|
|
- updates only files that have changed
|
|
- level 0, 1, 2, 3, 4, 5 ... 9
|
|
|
|
UNIX file system
|
|
- tree 
|
|
- descriptions
|
|
- implementation
|
|
- inode ⇒ data structure documenting data about a file
|
|
structure of directory
|
|
- current working DIR is always in memory
|
|
|
|
soft vs hard links
|
|
- hard link must always point to data - to delete a file with hard links you must also delete all the hard links
|
|
- soft links can point to a non-existing file
|
|
|
|
advanced file attrs
|
|
|
|
special files
|
|
|
|
journaling
|
|
- logs changes to journal before writing
|
|
- impact on performance requires data be written twice
|
|
- **question** why not just write a description of the change
|
|
|
|
creating FS demo |