3 ms·
First, actually Linux and Minix (and BSD as far as I know) are both POSIX compliant, so the syscall table will be more or less the same. The thing that changes
by antics 16y ago
First, actually Linux and Minix (and BSD as far as I know) are both POSIX compliant, so the syscall table will be more or less the same. The thing that changes between architecture is the instruction set, which is different, no matter what. That's actually the point of POSIX compliance: to define *nix-like systems in a way that is predictable.
Second, actually the more architectures you are compatible with, the more code is involved, and it tends to be more, not less, complicated. This is especially the case because all OSs have some assembly in them, and that assembly DOES change per your architecture.
Third, Minix is a "working" kernel. The main difference between Minix and BSD/Linux/whatever is that it is a microkernel, which is easily the best to learn on, on account of things like the permissions structure being MUCH simpler (arguably one of the most difficult things to grasp), but not the best in terms of (for example) security.
- dododo 16y ago1. the system call table of linux and minix are very different. posix specifies the minimum interface (and i don't think it specifies what is and what is not a system call). linux has a lot more system calls than minix. the system call table itself changes between architectures under linux since... 2. linux duplicates the system call dispatch table for each architecture. check it out: http://lxr.linux.no/linux+v2.6.35/arch/x86/ia32/ia32entry.S#L506 http://lxr.linux.no/linux+v2.6.35/arch/x86/ia32/ia32entry.S#... vs http://lxr.linux.no/linux+v2.6.35/arch/avr32/kernel/syscall_table.S http://lxr.linux.no/linux+v2.6.35/arch/avr32/kernel/syscall_... whereas NetBSD has no such duplication. in fact, one complaint about the linux kernel is that it has too much per-architecture code. 3. who uses minix? the linux kernel is actually not too bad. ctags is your friend. i learnt on linux+netbsd, it's not really as bad as people make out.