Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SquashFS in extfs #3147

Open
mc-butler opened this issue Jan 11, 2014 · 12 comments
Open

Support for SquashFS in extfs #3147

mc-butler opened this issue Jan 11, 2014 · 12 comments
Assignees
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress ver: 4.8.33 Reproducible in version 4.8.33
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3147
Reporter Unknown

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.

Note

Original attachments:

  • usqfs (raw) by Unknown on Jan 11, 2014 at 18:40 UTC
@mc-butler
Copy link
Author

Changed by Unknown on Jan 11, 2014 at 18:40 UTC

usqfs

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 18, 2025 at 13:11 UTC (comment 1)

  • Summary changed from Virtual Squashfs Support to Support for SquashFS in extfs

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 18, 2025 at 13:49 UTC (comment 2)

  • Owner set to zaytsev
  • Milestone changed from Future Releases to 4.8.34
  • Status changed from new to accepted

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 18, 2025 at 14:24 UTC (comment 3)

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.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 18, 2025 at 19:31 UTC (comment 4)

  • 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...

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jan 25, 2025 at 18:33 UTC (comment 5)

  • Votes set to andrew_b
  • Branch state changed from on review to approved

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 25, 2025 at 19:10 UTC (comment 6)

  • Votes changed from andrew_b to committed-master
  • Status changed from accepted to testing
  • Branch state changed from approved to merged
  • Resolution set to fixed

Merged as [c2a0343]

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 25, 2025 at 19:11 UTC (comment 7)

  • Status changed from testing to closed

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 27, 2025 at 15:13 UTC (comment 8)

  • Resolution fixed deleted
  • Status changed from closed to reopened

Forgot to add tests file to dist, caught by distcheck.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Jan 30, 2025 at 18:06 UTC (comment 9)

  • Status changed from reopened to accepted
  • Blocked by set to #4643

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 18, 2025 at 13:03 UTC (comment 10)

TODO: Close #1678 when done.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 22, 2025 at 11:23 UTC

@zyv zyv added the ver: 4.8.33 Reproducible in version 4.8.33 label Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress ver: 4.8.33 Reproducible in version 4.8.33
Development

No branches or pull requests

2 participants