I found out /bin and /usr/bin contain the same command binaries such
as "ls" and "rm".
Is there any reason why the both directories contain the same(?)
command files? or are the commands different? Can't we just use link
instead?
cheers,
AK
The binaries used to boot the system are in /bin (probably staticaly
linked). The binaries for genaral use are in /usr/bin .
During boot the system should work only on the root-filesystem (usr is
mounted later).
Greetings,
Frank
All Minix binaries are statically linked, as the a.out format used on
Minx does not support dynamic linking.
--
With kind regards,
Erik van der Kouwe
Compatibility, with _many_ POSIX systems, might be the reason. Some OSes
put them in "/bin/", while other OSes put them in "/usr/bin/". Putting the
names in both directories makes it easier to port programs from those other
systems (scripts don't need to be changed).
But, I, too, wonder why "/usr/bin/" contains full copies instead of
soft-links to "/bin/" -- that wastes disk space.