Short story: I need to write a PHP script which finds the correct OS type from uname (eg: both wince and winnt would return windows). See here for more info.
Shouldn't this be a community wiki?
Yes but...see here.
How to help: If your OS is not listed below, please run this code and share your findings:
<?php
echo php_uname();
?>...
Hi i downloaded souce for unix version 6, i want to study it and test it. I am running Snow Leopard on a macbook pro.
1)Is there a way to compile it in mac. If i comile using make or gmake i am getting the following error.
*** Error: Couldn't find an i386-*-elf version of GCC/binutils.
*** Is the directory with i386-jos-elf-gcc in your ...
Hello Experts,
I am new to mac os x programming and want to create new RFCOMM bluetooth service with newly generated UUID. I read the Bluetooth Device Access Guide and learned that UUID need to maintain in plist file. But could not find how to maintain uuid in plist file. It will be great help to me if some one can provide sample plist ...
Hi,
I want to clone a AIX LPAR and was wondering if the physical machine could be converted into a VM Image?
I have used the VMWare Converter to create a VM Image of a physical windows box and the documentation states that you can do that for Linux Boxes too.
http://www.vmware.com/products/converter/
I don't see information on AIX ...
Are cores of OSs (device interaction level) really written in C, or "written in C" means that only most part of OS is written in C and interaction with devices is written in asm?
Why I ask that:
If core is written in asm - it can't be cross-platform.
If it is written is C - I can't imagine how it could be written in C.
OK. And what ...
Just a simple question: in a single-task system OS copies smt to memory and then 'goes to' somewhere there and program returns control to task manager later. But in multitasking OS we just make a few steps inside the process and than return to task manager waiting for own turn. How do we 'go to task manager' without 'goto' and 'ret's?
(...
Hello guys,
i am new to the Operating System development , and in college i have to add a system call to linux kernel,
could you guys give me some in sight on what i will have to learn to be able to do this please.
i have to extend the linux kernel, so any cool ideas would also be very helpful...
thank you
...
Hi,
How can I access the IME configuration of an OS X system? I would like to get the key to enable/disable IME input for instance, get the composition window position, selected candidate etc.
Any language is fine, I just want to know how such a thing is possible, thanks!
...
Actually I'm little more interested about paging and segmentation of memory management of Operating system.
I know little about paging and segmentation. Modern OS used combined paging and segmentation. but my question is how they do? what is the modern concept of memory management of operating system?
...
Can someone please point out some books or online resources which explain in detail and at an advanced level the task management features of x86? I'm specifically interested in understanding the relationship between x86 hardware and the OS (POSIX style) when an interrupt or context switch occurs. Intel manuals are very confusing and I ca...
I am going through BrokenThorn Operating System Development Series. I am trying to create virtual floppy using steps provided there. Steps are :
We will use VFD to create a virtual floppy image to copy our OS to. This will
explain how to use it.
Open vfdwin.exe.
Under the Driver tab, Click the Start button. Thi...
Hello Guys
i am tryin to add a new helloworld system call to a new version of the linux ubuntu kernel,
i have been looking through the web but i cannot find a consistent example to show me what files i will have to modify to enable a helloworld system call to be added to the kernel.
i have tried many and compile error have occured
s...
hello guys,
i have created and installed a new kernel in my ubuntu system, but now i have added a new system call and created a new kernel, how do i set this new kernel as the one the OS should boot from.
dpkg -i kernel-image-2.6.deb
i tried this on my first kernel and this set the kernel to this one
then i added a new system call
...
hello guys,
still working on this system call!!!
i have added a system call to a kernel, compiled and the OS is running off it.
now i am getting syntax error on the compilation of my test application.
testmycall.h
#include<linux/unistd.h>
#define __NR_mycall 244
_syscall1(long, mycall, int, i)
testmycall.c
#include<stdio.h>
#i...
I put redirection code on the top of a page which has bootstrapping code below. Does redirection spawn a different process making the redirecting page process as a background process or it kills the current process entirely?
Im using header() for redirection but surprisingly the remaining code below header() which required database con...
Cell phones are opening their os and ringing alarm while they are not working when the time came up. How?
...
I'm curious what happens in this scenero. Suppose I open a file for reading, and begin reading the contents in a loop. Like this:
$fp = fopen('test.txt', 'r');
while(!feof($fp)) {
fread($fp, 1024);
}
fclose($fp);
What happens if another process starts appending to the file while I'm reading it?
...
Normally, a computer system only has a timer(hardware), and it trigger the system bu interrupts. But on application layer, we can set multiple tasks based on timer, like cron jobs. I am just wondering how system utilize the timer(hardware) to implement the application tasks(cron jobs, or java scheduled tasks).
Thanks
...
What is the best book about operating systems development and programming? What books can be more helpful for those looking to program operating systems?
...
Hi,
I am going to create a tool which shows the OS and Databases related information of a machine. I have the IP address/Host Name of a machine. Using the IP Address/Host Name of that machine I want to get the OS and Databases related information.
I need the information of databases(Like Oracle, MySQL, SQL Server..) without actually c...