General :: Difference Between 'synchronous' And 'asynchronous'?
Jan 24, 2010
What is the basic difference between 'synchronous' and 'asynchronous' io in the linux/unix platform ? And in Linux RHEL5 and AIX 5.3 / 6.1, How can I measure that my server support either 'asynchronous' or 'synchronous' I/O ?
In a few months I am gonna be starting a website that handles credit card information.
A requirement of my servers is that they be fully self-maintaining.
By this is mean that they will download their own updates, restart them-self, and switch them-self back on after general house power failure (black out).
Is there a way in Linux to make the computer automatically reboot itself after download and installing an update (if it needs to). My Linux uses the apt package system, with Synaptic Package Manager/Update Manager.
Now here is another problem I found. When a customer has logged into my site, my computer won't register them as logged in when they've rebooted? Like, its going to issue them new cookies? Credit card transaction process will be have to be restarted?
What if I build two identical server running in sync with each other... sort of like RAID mirror.. and they both download and install updates, once their both ready to reboot. Computer 1 will reboot. On successful reboot, System 1 alerts System 2 that it successfully reboot and that System 2 may now reboot. This way the customers experience is not interrupted.
I have an user space application that performs file I/O operations, when a SIGKILL is captured, some routines are done first to ensure that all I/O operations are completed before rebooting the application or system. My question is, this won't work if the power button is pressed or the power supply is disconnected, so there can be incomplete I/O operation or corrupted data written into the file, so is there a way to prevent data corruption or at least complete any ongoing operation when this scenario happens? Assuming there is at most 1 second before the power really went out, can I/O be still completed?' I'm running the application on a busybox 2.6.14 kernel on an embedded system board.
I am developing a I2C CDROM client driver. The CDROM firmware supports TOC information read through a I2C command. It sends the TOC information in burst ( Interrupts a GPIO pin when it is ready ) and my CPU does a I2C read to read the TOC. When the CDROM firmware finishes sending the last data burst , it informs my CPU that it is done with the TOC, by a flag in the last data burst. I would like to know, which is the most efficinet way I can send these TOC information to userspace?
The 3.4G is correct because we have removed all non essential file but free space reported by df is not consistent with the actual free space that should be there.
I need to know the exact difference between SCP and SSH can somebody explain please as i am confused as both seem to do the same thing if so let me know what the difference is.
Possible Duplicate: Is it possible to install Mac OS X on customized hardware? Well I think the title is the main question here and aside from that: What is it that does not allow the MacOS to be installed on a normal PC ? How do I install the MacOS on a PC ?
I created 2 virtual machines with VMware Workstation 7. They have identical hardwares. One guest is CentOS 5.6, another is Mandriva 2011. When I try to mount the cdrom in guest OS, in CentOS, I should execute
mount /dev/hdc /path/to/mount
in Mandriva, I should execute
mount /dev/sr0 /path/to/mount
I also remebered in some other Linux variant, I had to use
mount /dev/cdrom /path/to/mount
What's the difference between hdc, sr0 or cdrom? Is there a consistent way to mount cdrom in all Linux variants?
the difference between /proc and /sys? Also, When enabling public-key authentication using SSH, what file on the remote machine must be modified and how?
I am using Red Hat Linux.To configure any configuration file i use vi editor.I can use vi and vim both to perform my tasks.The point which is confusing me that which is batter. Is vi is the enhance form of vim ? what are the main difference between them?
I have to install Oracle Enterprise linux 64bit version on my machine. How would i determine whether my system is compatible for 64 bit version. What is difference between 64 bit version and 32 bit version? I heard that 64 bit version are suitable for machine with ram more than 4 gb is it true?