Expand description
Arc<Inode>
-> OSInodeInner
: In order to open files concurrently
we need to wrap Inode
into Arc
,but Mutex
in Inode
prevents
file systems from being accessed simultaneously
UPSafeCell<OSInodeInner>
-> OSInode
: for static ROOT_INODE
,we
need to wrap OSInodeInner
into UPSafeCell
Structs
- A wrapper around a filesystem inode to implement File trait atop
- The OS inode inner in ‘UPSafeCell’
- Open file flags
Constants
Functions
- List all files in the filesystems
- Open file with flags