X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffilesys%2Ffilesys.c;fp=src%2Ffilesys%2Ffilesys.c;h=6a763fecdb60e8e8b323e0d706c20b7ea6549e43;hb=9d6ad9a479ddae9628dc2d45862f9281986c430b;hp=7b164380809f5675f7080584801654a416843c2f;hpb=515939328292cac043cf76c8e505e93b9b2c90e3;p=pintos-anon diff --git a/src/filesys/filesys.c b/src/filesys/filesys.c index 7b16438..6a763fe 100644 --- a/src/filesys/filesys.c +++ b/src/filesys/filesys.c @@ -74,10 +74,9 @@ directory is represented as a file, the number of files that may be created is also limited. - - No indirect blocks. This limits maximum file size to the - number of sector pointers that fit in a single inode - times the size of a sector, or 126 * 512 == 63 kB given - 32-bit sizes and 512-byte sectors. + - File data is allocated as a single extent, so that + external fragmentation can become a serious problem as a + file system is used over time. - No subdirectories.