Module 0213: File types in Linux

Tak Auyeung, Ph.D.

March 8, 2010
1 About this module
2 Vnode
 2.1 VNON “no type”
 2.2 VREG “regular file”
 2.3 VDIR “directory”
 2.4 VBLK “block device”
 2.5 VCHR “character device”
 2.6 VLNK “symbolic link”
 2.7 VSOCK “socket”
 2.8 VFIFO “named pipe, first-in-first-out”
 2.9 Digression: what is the difference between a socket and a pipe?
 2.10 VBAD “bad section map”
3 Stat