read-only mode linux
Jerry McBride
mcbrides9
Mon May 17 11:43:52 PDT 2004
On Mon, 03 Feb 2003 08:42:26 +0800 "m.w.chang" <mwchang at i-cable.com> 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?
>
Just remount the partition as ro...
For instance you could do: mount -n -o remount,ro /dev/hda1
When you want write access back, use rw instead or ro.
--
******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
Join me in chat at #linux-users on irc.freenode.net
10:23pm up 26 days, 3:57, 2 users, load average: 0.07, 0.06, 0.02
More information about the Linux-users
mailing list