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
> <[email protected]> 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
> >
> >
>
>
>
> --
> Regards,
> Peter Teoh
>
Alexander
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ