From: sinster@tioga.ucsc.edu (Darren Senn) Subject: Re: longer filenames dilemma Date: 27 May 1992 17:29:33 GMT
In article <SCHMID.92May27105513@fb3-s2.fb3-s7.math.TU-Berlin.DE>, schmid@fb3-s7.math.TU-Berlin.DE (Gregor Schmid) writes:
> Changing this value to s.th. else (preferred 2^n - 2) and recompiling
> should give you a kernel that handles longer filenames (right Linus ?).
> The problem: You have to rebuild mkfs with the new header and remake
> your file system. That's inconvenient but unavoidable.
Here's the problem bothering me: why does the filesystem have to be rebuilt?
This implies that the full MAX_NAME bytes of space are allocated on the
filesystem for file names. This is very bad. BSD, for instance, uses
a linked-list of filename/inode pairs to represent directories on disk.
This is read into memory and converted to an array of char * for efficiencies'
sake.
[ Reference: Implementation of the BSD 4.3 Operating System, McGraw Hill ]
-- Darren Senn Phone: (408) 479-1521 sinster@scintilla.capitola.ca.us Snail: 1785 Halterman #1 Wasurenaide -- doko e itte mo soko ni anata wa iru yo. Santa Cruz, Ca 95062