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

Changing the iso size from file size to space used #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

john-peterson
Copy link
Member

Changing the iso size from file size to space used

Sparse size

Sparse size should be shown because

  • all (non-modified) ISOs are the same size (GC 1 459 978 240 B, Wii 4 699 979 776 B) but the content size vary
  • the ISO padding should be sparse rather than removed (called trim in Wii Scrubber) because the latter is a more advanced modification leading to boot failure on the native hardware for some ISOs in some USB loaders
  • there's a command line tool to efficiently
    • sparse multiple files wit scrub *
    • backup rsync -aSv --progress /cygdrive/l/rom/ /cygdrive/e/backup/rom, move mv, copy cp with retained sparse information

Discussion

@delroth

I'm not sure if st_blocks unit size == 512 is a valid assumption to make, especially with 4K sectors disks.

st_blocks is 512 B for AF too

Is there any reference to the fact that st_blocks always counts 512 bytes blocks?

The quote "the number of blocks allocated to the file, 512-byte units"

[03:16] @Sonicadvance1 JPeterson, Pull request #18, no

What's the reason that you oppose the change?

…r sparse and compressed files because that information is more important

Changing the name color (to the same color as compressed files) for sparse and compressed files because that inform the user which files should be converted to sparse
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

Successfully merging this pull request may close these issues.

None yet

1 participant