Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an OS that allows the same name for files in the same folder?

By "same name", I mean absolutely identical, including the extension.

share|improve this question
I doubt any such system exist... how would files be distinguished? using inodes alone? then file names are completely irrelevant if so... – Waleed Hamra Dec 9 '12 at 21:48
@WaleedHamra I can imagine complicated system that uses file size to distinguish files, for example. Anyway files have some other ID then names – Hate Dec 9 '12 at 21:50
yes, inodes... file names are just a human-readable mapping to these inodes, but if a system is to rely solely on them to distinguish between files, then filenames are completely irrelevant to the system. – Waleed Hamra Dec 9 '12 at 21:55
While it may be possible in principle, no filesystem I know of permits it. – Andrew Lambert Dec 9 '12 at 22:00
There have been file systems (and apparently Windoze is reviving this to a degree) where files were "versioned", so you could write to the same file name N times and then go back and ask for an earlier version. And, of course, some tape file schemes permitted this. – Daniel R Hicks Dec 9 '12 at 22:44
up vote 0 down vote accepted

VMS allows for identical file names in a directory. You can incorporate a 5 digit version number after identical names and extensions - so you have a great deal of latitude storing many, many, many identically named files on that OS/filesystem without needing to hack or modify it.

It's not clear how this will help you or what problem you are solving, but what you ask has been coded on production OS before.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .