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

What are the commonly accepted file name extension for squashfs? #259

Closed
astrophys opened this issue Jul 27, 2023 · 3 comments
Closed

What are the commonly accepted file name extension for squashfs? #259

astrophys opened this issue Jul 27, 2023 · 3 comments

Comments

@astrophys
Copy link

Hello,

I use mksquashfs on RHEL8.6 to archive large directories.

Question :

  1. What are the commonly accepted squashfs extensions? E.g. somefile.squashfs?
@plougher
Copy link
Owner

plougher commented Aug 3, 2023

I have never mandated a specific Squashfs image extension because some systems have 3 character limitations and others do not.

Personally I have always used .sqsh (see footnote), e.g. image.sqsh. I have also seen .sqfs, e.g. image.sqfs which I think is also a good extension. If limited to 3 characters I have seen .sfs. e.g. image.sfs.

Footnote: The Squashfs filesystem magic number is the ASCII characters SQSH in little endian format (i.e. stored as HSQS).

@aonez
Copy link

aonez commented Aug 23, 2023

@plougher what will be a good UTI for this format? Maybe com.plougher.squashfs-archive?

For example ZIP has com.pkware.zip-archive and public.zip-archive.

@plougher
Copy link
Owner

@plougher what will be a good UTI for this format? Maybe com.plougher.squashfs-archive?

Looks a good suggestion to me.

For example ZIP has com.pkware.zip-archive and public.zip-archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants