sp26-cs537 cs537
CS 537 Project 6 CS 537 Project 6
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readExtended File Attributes (xattr) in xv6
Learning Objectives
System Programming & xv6
File System Design Concepts
Low-Level Hardware Awareness
Project Details
Recommended Approach
Introduction: What are Extended File Attributes?
Motivation: Why Do We Need Extended File Attributes?
Implementation: How Do We Implement Extended File Attributes?
Step 1: Define User-Space System Call Signatures
fgetxattr()
fsetxattr()
fremovexattr()
flistxattr()
Step 2: Implement the countusedb() System Call (Block Leak Testing)
countusedb()
Step 3: Implement File System Layer Building Blocks for System Calls
On-Disk File Layout with xattr
File System Layer Helper Functions
Important Appendix: xv6 Storage Stack
Essential Auxiliary Files