read-only mode linux

Andrew Mathews andrew_mathews
Mon May 17 11:43:52 PDT 2004


m.w.chang wrote:
> 
> is there a mod or patch or something that could make linux to stop ALL 
> applications from writing to the harddisk except on a specified set of 
> partitions? I meant, can linux kernel guaratee such a thing?
> 
> Why? to check whether the application programs are not lying. :)
> 

Yes, it's called xfs_freeze, but you must be running an xfs filesystem.

-- 
Andrew Mathews
---------------------------------------------------------------------
   7:03pm  up 35 days, 17:31, 13 users,  load average: 1.05, 1.06, 1.07
---------------------------------------------------------------------
         He's back. And this time he's got a chainsaw.

	- Al Viro announcing per-process namespaces on lkml



More information about the Linux-users mailing list