I would like to know if it's possible to move the files on a given partition to the begin of the disk, where the read/writes are faster.
I currently have Windows Vista installed on the first partition of the disk with a few more partitions for work related files and other stuff.
Would this guarantee that the OS partition (which was th...
This is probably more of a subjective question, but which language (not API like .NET or JDK) would you use should you write your own operating system? Which language provides flexibility, simplicity, and possibly a low-level interface to the hardware? I was thinking Java or C...
...
As you all know, Windows 7 Beta, RC and sooner RTMs will be released in coming months. When the beta program had released, I happily installed in my laptop and worked with the brand new OS. Tried new APIs, explored new features and all.
Recently, I downloaded the RC release and I've taken all pain of backing up files, installation file...
Does Linux have a shared library that exports OS functions?
msvcrt.dll -> libc.so.6
kernel32.dll -> ?
...
Hi, I wonder if anyone knows about WAFL (Write Anywhere File Layout), or a link to the topic of interest (not wikipedia), or a good bibliography online because I am investigating about operating systems, thanks to all.
...
Explanation:
I don't remember about Linux and I don't know about OS X, but in Windows you can right-click a file and select a program to open it. But how does the OS know exactly how to make the program open it? Does it keep track of the "Open file" dialogs the program has? Does the developer have to specify a special event handler or so...
I want to launch a process from within my c program, but I don't want to wait for that program to finish. I can launch that process OK using system() but that always waits. Does anyone know of a 'non-blocking' version that will return as soon as the process has been started?
[Edit - Additional Requirement] When the original process has ...
Programming isn't my main job, though I enjoy it and sometimes get paid for it. For many years now I've been hearing about Linux and my friends have shown to me many *nixes (or *nici?), though I stick with Mac OS.
Do you think there are any parts of the Linux kernel that I could enjoy looking at, that would help me understand what's the...
I'm writing a Java applet to run differently under different hardware. For instance if I know a computer has a large amount of RAM but a weak processor, I can alter the balance of some time-memory trade-offs. Being able to discover the exact make and model of the CPU on which the applet is running could be helpful. Having such informatio...
Hello, I've installed ruby 1.8.6 p368 and gems 1.3.4 as well as required libraries like zlib, ssl or readline on my winxp sp3 box.
The problem is, when I now try to use some gem, I get the following error:
Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1112 - no su
ch file to load -- rubygems/defaults/operating_syst...
I am confused by the function of spin lock.
The spin lock is used to stop the process from re-scheduling.
However, in a machine with just one core, is it useful to use spin lock
to prevent context switching?
...
We have NTFS, FAT etc for HDD.
So I just want to know what are the file systems of CD and DVD?
...
Schedulers in contemporary operating systems implicitly give higher priority to I/O bound process over CPU bound processes. Do you think that while scheduling the processes, CPU bound processes should be given higher priority as compared to I/O bound processes so that the throughput could be increased.
...
We're considering writing mobile versions of our applications, so we're putting together a survey for our customers asking what they want for stuff on their phones. So far, questions such as:
Do you have a smartphone? If so, which OS does it use?
Would you like to use on your phone?
How much would be worth to you on your phone
etc....
I wanted to know How OS actually makes a program in to process. what are steps Os engages to make program a process.
I mean How a Program becomes a Process, what are the parameter OS adds to kernel datastructure before making a program a process
Thank you in advance.
...
I am using RHEL 4
i am using syscall stat as follows:-
if (stat ("file",&stat_obj)){
if (errno == ENOENT){
printf("File not found");
}else{
printf("Unexpected error occured %d ",errno);
}
}
sometimes i get error message as ""Unexpected error occured 0"
That means i get error as "0" . i checked file permissions that are...
So a OS multi-tasks and runs one process at a given moment (assuming it's a single core machine). Is there a way I can track/poll and find which process was running at what time and at what time it was put in the queue and retrieved back. Are there any system calls for this ?. Is there a way to achieve this without modifying the linux ke...
From this answer: http://stackoverflow.com/questions/1058797/when-is-a-c-terminate-handler-the-right-thingtm/1058894#1058894
It would be nice to have a list of resources that 'are' and 'are not' automatically cleaned up by the OS when an application quits. In your answer it would be nice if you can specify the OS/resource and preferably...
When my task manager (top, ps, taskmgr.exe, or Finder) says that a process is using XXX KB of memory, what exactly is it counting, and how does it get updated?
In terms of memory allocation, does an application written in C++ "appear" different to an operating system from an application that runs as a virtual machine (managed code like ...
Imagine a pure .NET application which do not uses COM components nor PInvoke. Does it matters if the target system is 32 or 64 bits?
...