jffs2dump endian convert does not convert major/minor numbers

Bug #1647673 reported by Federico Fuga
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtd-utils (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

when using jffs2dump to change the endianness of a file system (in my case from BigEndian for a Renesas board to LittleEndian on intel), devices major/minor numbers are swapped in the converted fs.

Here a patch that fixes the issue (tested on my own box)
The patch was orginally posted here: https://patchwork.ozlabs.org/patch/334619/

Tags: patch
Revision history for this message
Federico Fuga (fuga) wrote :
Revision history for this message
Federico Fuga (fuga) wrote :

I Forgot to mention:
O.S. is 16.04LTS, up to date.
Package is mtd-utils1:1.5.2

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "jffs2dump-endian-convert-does-not-convert-major-minor-numbers.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Balint Reczey (rbalint) wrote :

Hi Frederico,

It looks like the patch you sent upstream is not applicable anymore upstream (and here in Bionic) and needs little changes.
This is clearly an upstream bug and would be useful in other distributions as well thus I would not carry it only in Ubuntu unless there are no other options.
Could you please refresh the patch and send it upstream again?
If you are not interested in that I will try upstreaming an updated version later, before accepting it to Ubuntu only.

Changed in mtd-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
Federico Fuga (fuga) wrote :

Hi Balint, sorry I am out of that project and I cannot test it anymore. Indeed, I was not the original author of the patch, see https://patchwork.ozlabs.org/patch/334619/ .
Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mtd-utils (Ubuntu) because there has been no activity for 60 days.]

Changed in mtd-utils (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.