Ticket #3147 (accepted enhancement)
Support for SquashFS in extfs
Reported by: | Unknown | Owned by: | zaytsev |
---|---|---|---|
Priority: | major | Milestone: | 4.8.34 |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | ||
Blocked By: | #4643 | Blocking: | |
Branch state: | merged | Votes for changeset: | committed-master |
Description
Midnight Commander does not have VFS support like for e.g. iso9660.
Having "unsquashfs" from squashfs-tools package in the $PATH environment available, "usqfs" in "extfs.d" directory of MC and this patch:
--- mc.ext.org 2013-08-09 10:49:00.000000000 +0200 +++ mc.ext 2013-11-09 18:21:00.000000000 +0100 @@ -254,6 +254,9 @@ Open=%cd %p/iso9660:// View=%view{ascii} /usr/local/libexec/mc/ext.d/misc.sh view iso9660 +type/^Squashfs filesystem + Open=%cd %p/usqfs:// + View=%view{ascii} unsquashfs -stat %f ; unsquashfs -lls -d "" %f regex/\.(diff|patch)$ Open=%cd %p/patchfs://
applied, works for me since a while.
Attachments
Change History
comment:1 Changed 9 months ago by zaytsev
- Summary changed from Virtual Squashfs Support to Support for SquashFS in extfs
comment:2 Changed 9 months ago by zaytsev
- Owner set to zaytsev
- Status changed from new to accepted
- Milestone changed from Future Releases to 4.8.34
comment:3 Changed 9 months ago by zaytsev
The parser cuts its teeth on the following line
crw------- root/root 5, 1 2024-09-23 14:34 /dev/console
producing
crw------- 1 root root 5, - - 1 2024-09-23 14:34 /dev/console
which mc cannot parse.
comment:4 Changed 9 months ago by zaytsev
- Branch state changed from no branch to on review
Branch: 3147_squashfs
Changeset: 737c8faa249da2200420f9612ea28f796a3c20c3
I can't thank mooffie enough for his extfs test harness...
comment:5 Changed 9 months ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:6 Changed 9 months ago by zaytsev
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged as c2a03436649dcbf0e50ca1891089b42a5b2dcf73
comment:8 Changed 9 months ago by zaytsev
- Status changed from closed to reopened
- Resolution fixed deleted
Forgot to add tests file to dist, caught by distcheck.
Note: See
TracTickets for help on using
tickets.
usqfs