X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffilesys%2Fdirectory.h;h=c773887b6b57e920d59e7ddadf50502c7cf8fe30;hb=3c4ff7ffae2e6f05a2c78ec77814dbc5a98c4f98;hp=6503a309e0887cb041a86db36e87fecf19b4e79a;hpb=993c1d9f4452e2edd851f3175dfdf317f18bdb9f;p=pintos-anon diff --git a/src/filesys/directory.h b/src/filesys/directory.h index 6503a30..c773887 100644 --- a/src/filesys/directory.h +++ b/src/filesys/directory.h @@ -5,9 +5,10 @@ #include #include "devices/disk.h" -/* Maximum length of a filename. - This is the traditional UNIX maximum. - (This macro name comes from POSIX.1.) */ +/* Maximum length of a file name component. + This is the traditional UNIX maximum length. + After directories are implemented, this maximum length may be + retained, but much longer full path names must be allowed. */ #define NAME_MAX 14 struct file; @@ -20,6 +21,5 @@ bool dir_lookup (const struct dir *, const char *name, disk_sector_t *); bool dir_add (struct dir *, const char *name, disk_sector_t); bool dir_remove (struct dir *, const char *name); void dir_list (const struct dir *); -void dir_dump (const struct dir *); #endif /* filesys/directory.h */