Why limitation of 6 or 8 character filenames + extension on older operating systems?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The directory structure used fixed size fields for file names. When those systems were written, storage was measured in kilobytes so it was not very limiting.
I don't know. I assume it was a limitation due to hardware imposed during early filesystem development and copied by others. Might of started with CP/M but do not know its exact origin.
Because when we started to try to make the PDP-11, ... operating systems to work, we had at that time no need to have specific long filenames.
We developed very simple assembly language programs. Purposes were slightly differents. It did not come in my mind even at that time that there was need of having long filenames.
The practice actually dates back to operating systems and computers (which, uhh, I remember ...) like RSTS/E. Or the HP-2000 minicomputers, Data General, and so on. Days when paper tape was more common than hard drives.
(Yeah, you folks missedout on a helluva lot of fun times, by being born too late ... This stuff was "happening for the very first time, right before our eyes," and we were there and we knew it, although I think that very few of us realized what it would one day become nor how rapidly it would get there.)
The idea had been copied by other contemporary operating systems that were popular at that time, such as CP/M. Remember that the MS-DOS project was very much aimed directly at CP/M, because Gary Kildall was being an ass and would not negotiate with IBM Corporation, and IBM was running out of time.
One must remember that computers were extremely tiny. (As was the original IBM-PC.) They were not yet being used by "the general public." Specialists were accustomed to such limitations. It would have been wasteful to spare more precious disk-space and RAM on extravagance.
Yeah, we didn't have anything to work with. So, we did it anyway. Some of the things that we managed to accomplish, "basically, with nothing," are feats of High Hacking that I am still proud of.
Last edited by sundialsvcs; 10-04-2015 at 09:57 AM.
On older operating sys, there was only 6 or 8 chars, dot and extension (3char). Why such a number?
Example: Amiga, C64,...
example:
Code:
noname.bas
I don't think that this is true for Amiga, or am I wrong?
EDIT:
Reading around, it seems that with Amiga you had to first associate any kind of extension with an icon and only later you could decide which program to use for that icon-type. I honestly don't remember anymore what I did with my Amiga500 - I remember only Rick Dangerous
Last edited by Pearlseattle; 10-04-2015 at 01:47 PM.
The IBM 709-7090-7094 computer family had storage (we didn't use the word memory then) divided into 36-bit words. Each word could accommodate six 6-bit characters. Fortran, developed in that era, began with variable names no longer than 6 characters. It was a design choice made to economize storage space and also as an implementation convenience.
Amiga was always an intelligently designed system ... ahead of its time in all respects. It did not have this limitation. (Neither did the Apple ][, for that matter, although it had plenty of limitations of its own.)
Computers were extremely limited in those days, since Intel and others had not yet perfected processes for reliably (and cheaply) constructing the very-high density silicon chips that we take for granted today. Thus, an 8-kilobyte memory store might well use 8 chips. Likewise, clock speeds and chip-complexity was much lower. And, prices were higher because there was a much lower "yield" in the chip-manufacturing processes.
And so, software and hardware designers soldiered on, breaking new ground all the time, doing what couldn't be done with these "toys."
For the most part, also, the general public wasn't paying attention to computers. While computers were already "a part of their lives," computers were not yet "part of their lives." (And certainly not yet a total-distraction at the dinner table ...) I candidly admit that it's not as much fun for me today as it used to be.
I don't know. I assume it was a limitation due to hardware imposed during early filesystem development and copied by others. Might of started with CP/M but do not know its exact origin.
Well yes it was a limitation due to memory and this was a choice made by the designers of the early OSes for uniformity, as well as limitations. It would've taken more resources to represent lengthier filenames and given the limited resources of the time, these choices did make sense.
to make things even worse i STILL , even today, see software that outputs names or use ALL CAP 8.3 names
for some odd reason windows 7, 8 ( do not wet know about 10) 3d software outputs the 3ds format using ALL CAP 8.3 names even if the real image name is all lowercase
drives me batty in making SURE that the software i support is MULTI OS ( linux,osx,windows)
back in 1980's and early 90's this made sense --- 5 in floppy disks did not have much space
but not today
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.