[opensuse] Changing cramfs contents
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. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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.
Maybe I'm wrong, but schouldn't your command read: mount -o loop,rw file1 tmp -- MfG, David Mayr =========================== LunaBOX Network Solutions =========================== Haubensteigweg 55 D-87439 Kempten TelNr: 0831-5124808 FaxNr: 0831-5124809 Mobil: 0172-8673184 www.lunabox.de info@lunabox.de ================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 16 2007 21:07, David Mayr 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.
Maybe I'm wrong, but schouldn't your command read: mount -o loop,rw file1 tmp
or mount -o loop -w fwiw -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2007-01-16 at 21:07 +0100, David Mayr 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.
Maybe I'm wrong, but schouldn't your command read: mount -o loop,rw file1 tmp
Same results as what I used. I end up with a mounted filesystem showing: type cramfs (rw,loop=/dev/loop1) but I cannot change anything. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 16 2007 17:01, Kenneth Schneider wrote:
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
it's like iso9660 in terms of being readonly, and practically superseded by squashfs. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-01-17 at 01:25 +0100, Jan Engelhardt wrote:
On Jan 16 2007 17:01, Kenneth Schneider wrote:
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
it's like iso9660 in terms of being readonly, and practically superseded by squashfs.
I did this so I could install 10.2 from a local HD. I'm one of the lucky ones that needs support for the cciss driver in qparted that was borked on the orig install media. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
David Mayr
-
Herbert Graeber
-
Jan Engelhardt
-
Kenneth Schneider