#include <stddef.h>
#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;
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 */