GNU bug report logs - #42223
26.1; squashfs-mode (like tar-mode or zip-mode)

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com (Trent W. Buck)

Date: Mon, 6 Jul 2020 02:09:02 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 43827

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42223 in the body.
You can then email your comments to 42223 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#42223; Package emacs. (Mon, 06 Jul 2020 02:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to trentbuck <at> gmail.com (Trent W. Buck):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 Jul 2020 02:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: trentbuck <at> gmail.com (Trent W. Buck)
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; squashfs-mode (like tar-mode or zip-mode)
Date: Mon, 06 Jul 2020 12:08:05 +1000
squashfs is sort of a cross between .iso and .tgz:

    tar c my-docs | tar2sq my-docs.squashfs   # make archive
    gensquashfs -D my-docs my-docs.squashfs   # make archive
    sudo mount my-docs.squashfs /mnt          # mount it (like iso)
    rdsquashfs -u my-docs2 my-docs.squashfs   # extract all (like tar)
    rdsquashfs --list / my-docs.squashfs      # list all (like tar)
    rdsquashfs --cat foo.txt my-docs.squashfs # read one file

I've used squashfs instead of iso/tar/zip for about 15 years now.

Emacs has "good enough" unzip and tar modes -- I click on foo.odt,
see the file list, click on a file, and see the file contents.

Please can I have that for squashfs as well?

This basically means providing a dired-like wrapper for
"rdsquashfs --list" and "rdsquashfs --cat".


Additional notes:

  * Buffers should be read-only-mode by default.
    (Squashfs format has limited append support, but
    it's essentially a read-only format.)

  * There are two major implementations.
    I have given examples in squashfs-tools-ng format, because
    that is more amenable to scripting.

      https://github.com/AgentD/squashfs-tools-ng
      https://github.com/plougher/squashfs-tools

  * squashfs files are often very big (~2GB), so
    reading the whole thing into RAM like tar-mode does is a Bad Idea.




Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 13 Aug 2020 00:29:01 GMT) Full text and rfc822 format available.

Merged 42223 43827. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 06 Oct 2020 15:41:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 23 Oct 2020 11:05:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 43827 <at> debbugs.gnu.org and Ruthra Kumar <ruthrab <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 23 Oct 2020 11:05:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Nov 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.