On Thu, 6 Mar 2008, Jeff Dike wrote:
> On Thu, Mar 06, 2008 at 09:15:25AM -0500, Robert P. J. Day wrote:
> > 2) once i establish a COW file for a given backing file, i can use
> > "chmod" to protect that backing file from inadvertant changes, yes?
> > that seems to be the case based on my testing.
>
> Yup. UML will also open it read-only (and take a read lock on it)
> to protect from accidental change.
perfect. i had assumed that, if i started a UML session based on a
COW file, the backing file would automatically be protected against
modification during that session. my point was that i could
*additionally* then write-protect the backing file itself to protect
myself against my own stupidity.
thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user