On Sun, Jan 4, 2009 at 4:06 AM, Alexander Potashev <aspotashev@xxxxxxxxx> wrote: > On 15:14 Sat 03 Jan , Peter Teoh wrote: >> Ok, how about this: completely suspending all I/O can be done. two >> possible answer: >> >> 1. suspension on root device: reboot using a LiveCD, and mount the >> rootfs as readonly. >> 2. suspension on non-root device: unmount it first - after >> removing all dependencies, remount as readonly. now your device will >> suspend all write but not read. > > It's possible to remount an fs read-only using > > mount -o remount,ro <something> > > if there are no programs having files opened for writing (or O_RDWR) on > this fs, but remounting while some programs have opened files with > O_RDONLY is allowed. > >> >> On Sat, Jan 3, 2009 at 4:34 AM, rohit vashist >> <rohitvashist2kk3@xxxxxxxxx> wrote: >> > Hi >> > >> > I went through the code of iostat.In the ninth field it gives the count of >> > number of I/O,but it goes zero but it can be thought. >> > Can u specify the grounds how hard it would to be suspend all the I/O >> > currently on the device. >> > >> > Thanks >> > >> > Thank you Alexander, Coincidentally, there is another discussion on-going in LKML now: http://www.gossamer-threads.com/lists/linux/kernel/1014526 Interesting....... -- Regards, Peter Teoh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ