Slides from a talk given at PythonPune meetup on 21st Feb, 2015, and later at PyConIndia on 04th Oct, 2015.
FUSE-Python is probably the quickest way to prototype new filesystem ideas and rapidly build a new filesystem from scratch. In these slides I cover the basic FUSE methods and data structures necessary for implementing a working filesystem.
9. Why FUSE?
Usable by unprivileged users
Easier development cycle
Easy to install (apt-get install sshfs)
Multiple language support and bindings
C, C++, Python, Java, Ruby, Perl, Golang, Lua
Ported to FreeBSD, Mac OSX, OpenSolaris
17. The stat structure
Member Description
st_mode Inode protection mode
st_ino File serial number
st_dev Device ID
st_nlink Number of hard links
st_uid User ID of file
st_gid Group ID of file
st_size File size in bytes
st_atime Time of last access
st_mtime Time of last data modification
st_ctime Time of last status change
ref: <sys/stat.h>