Thread (1 message) 1 message, 1 author, 2015-02-01

Mount Compressed File like a Folder

From: Valdis.Kletnieks at vt.edu <hidden>
Date: 2015-02-01 00:49:42

On Sat, 31 Jan 2015 20:16:29 -0200, Lucas Tanure said:
There is a way to mount a xz or gz file , update it, and umount ?
Like, this file will be folder that is compressed and I can mount, update
the files, and close ?
This would probably be best done in userspace, using either fuse or a fully
userspace tool.  The biggest problem is that if you update the files, you need
to re-write the container. Think about the case where you have a 400 megabyte
.gz file, and you update something that's 200K in and the new one is 3 bytes
longer than the old one - almost 400 meg has to be re-written.  Not something
you want to be doing inside the kernel.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150131/9e4b8b2e/attachment.bin 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help