On Tue, 2007-01-16 at 22:24 +0100, Herbert Graeber wrote:
> Am Dienstag, 16. Januar 2007 19:54 schrieb Kenneth Schneider:
> > Can someone give me some info on changing the contents of a cramfs file?
> > I have mounted the file using:
> >
> > mount -o loop -o rw file1 tmp
> >
> > but when I try and change/delete a file I get an error stating the
> > filesystem is readonly.
> 
> cramfs is a readonly file system. It is compressed with zlib an meant to be 
> used in ROM.

Thanks for everyone's help. I ended up doing the following:

created a temp dir as mount point for cramfs filesystem
mounted cramfs to mount point using -o loop
copied all of the structure to a new dir
changed the file that needed changing in the new dir
created new cramfs to replace original

-- 
Ken Schneider
UNIX  since 1989, linux since 1994, SuSE  since 1998

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to