On Tue, Feb 25, 2020 at 6:03 PM <whistlez...@riseup.net> wrote: > Hi, I need some details about ffs, I read the kernel source but my c > knowledge is very basic. I understood all about the superblock but my > problem is understand how the files are allocated on the disk. > Anyone could give me more details about files allocation ? >
You should start from the paper that described the design and implementation: https://www.cs.berkeley.edu/~brewer/cs262/FFS.pdf as linked to from https://en.wikipedia.org/wiki/Unix_File_System Kirk McKusick has continued to revise and improve FFS; many of those changes have been included in OpenBSD. Check his biography and his personal website for links to papers and presentations. Philip Guenther