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

Working fsck.udf badly needed #21

Open
ehem opened this issue Aug 4, 2018 · 30 comments
Open

Working fsck.udf badly needed #21

ehem opened this issue Aug 4, 2018 · 30 comments

Comments

@ehem
Copy link

ehem commented Aug 4, 2018

To me this seems the one super-duper urgent need for wide usage of the UDF filesystem, a working fsck program. Without this and improperly removed USB key results in unrepairable filesystem damage. Worse, damage like that accumulates and over time you end up with a major problem.

Personally, I'd rate this as urgent. udftools has template files, they merely need to be filled in...

@pali
Copy link
Owner

pali commented Aug 6, 2018

Hi! I know that fsck tools is important. Currently @argorain is working on it, see WIP pull request: #7

@argorain
Copy link

argorain commented Aug 6, 2018

Hi, that is correct, I am working on it. I have a very little time for that, but it is slowly moving forward.

@callegar
Copy link

Can you please provide some information on the current status of the udf fsck?

  • the pull request mentions it being a beta version, is it expected to be safe enough to use or at least to try?
  • looks like the repo from which the pull request originates stopped seeing commits shortly after the pull request was made. Can someone please detail if this is just about limited time resources to invest, of if the project is in wait for more feedback, etc.?

@argorain
Copy link

Hi, I am author of fsck for udf but I have no time to work on it now. There are some issues on ARM platform what was raised later as requirement from @pali plus some other stuff. Overall I think it is safe to try it but I am not sure about production use. There were some nasty issues on large drives so it definitely needs testing and feedback but I am out of time, at least for now.

@callegar
Copy link

@argorain thank you for the prompt answer and for the effort in giving us the beta. I'll give it a try, then, truly hoping that you'll be able to recover work on it soon. I just wanted to make sure that there was nothing holding you back, such as lack of feedback from testers on systems different from yours.

@argorain
Copy link

No problem. Please keep in mind it is really an beta so run it rather on image or copy of your drive rather that live data. And if you encounter anything odd, please let me know. I am not saying I'll work on it anytime soon but always once in a while I am going thru those reports.

@Siltaar
Copy link

Siltaar commented Jan 20, 2020

As a matter of encouragement here is an article from 2013 that already states that the world is in the starting blocks for using UDF as USB-key filesystem as soon as an fsck.udf will be working on GNU+Linux :-)

https://tanguy.ortolo.eu/blog/article93/usb-udf

@ghost
Copy link

ghost commented Aug 28, 2020

Sorry to "move the knife in the wound" (it's a french expression)
But it is a shame that M$ has a working fsck.udf and not "us" ;)
And I have no problems writing with win10 on a UDF partition whereas in Linux seems like there is an issue with some big files (when using steam).
Yes I am my self guilty of not opening a bug report about that .

Cheers freind(s).

@ht990332

This comment has been minimized.

@ghost

This comment has been minimized.

@ht990332

This comment has been minimized.

@ghost

This comment has been minimized.

@ht990332

This comment has been minimized.

@ghost

This comment has been minimized.

@pali
Copy link
Owner

pali commented Sep 7, 2020

Hello @Hussamt @remi75! Independently of which opinion I have on this, I would like if you do not spam this issue. Feel free to move this discussion to other place. I want to have this issue tracker relevant and technically orientated. If you have anything which could help and improve UDF checking tool for Linux, you are free put arguments here. But discussion who and how contribute to Linux world is relevant with topic "udftools does not provide stable checking tool yet".

EDIT: I really do not like any moderation, but this discussion is now off-topic. I marked last comments via github button "off-topic", hopefully they are not deleted and just packed. (I really do not want to delete any comments).

@pali
Copy link
Owner

pali commented Sep 7, 2020

To move discussion back...

But it is a shame that M$ has a working fsck.udf and not "us" ;)

@argorain did some testing of MS UDF check disk tool and results were that it broke damaged UDF filesystems even more.

@smagnani did another tests and results were that it cannot handle and detect native 4K disks (correctly).

So I would not say it is "working" corectly. But maybe something changed... who knows.

@ghost
Copy link

ghost commented Sep 7, 2020 via email

@ht990332
Copy link

ht990332 commented Sep 7, 2020

Hello @Hussamt @remi75! Independently of which opinion I have on this, I would like if you do not spam this issue. Feel free to move this discussion to other place. I want to have this issue tracker relevant and technically orientated. If you have anything which could help and improve UDF checking tool for Linux, you are free put arguments here. But discussion who and how contribute to Linux world is relevant with topic "udftools does not provide stable checking tool yet".

EDIT: I really do not like any moderation, but this discussion is now off-topic. I marked last comments via github button "off-topic", hopefully they are not deleted and just packed. (I really do not want to delete any comments).

Sure. Thank you for the feedback but out of courtesy, shouldn't you also be moderating false information? I was led to believe there was a fsck.udf binary from another vendor that did not truly exist.
Also the regarding the "M$" labeling, shouldn't that be moderated as well? Not all Linux software developers, technicians, and system administrators reflect a toxic view towards developers from a competitive operation system. Some of us who perform technology work at engineering firms for a living try as much as possible to portray a positive, professional, and diplomatic image that shies away from such terminology (especially towards the competition).

@ghost
Copy link

ghost commented Sep 7, 2020 via email

@smagnani
Copy link
Contributor

smagnani commented Sep 9, 2020

Two suggestions for moving the ball forward on a functional fsck:

  1. Come to some agreement on the most important use case. For me this is UDF 2.01 on a flash disk, used for interchange with Windows. This reduces the scope to something that might be manageable.

B. Collect some examples of corruption to determine which are most common and therefore most important to fix. Examples would be hugely helpful, both to udffsck development and regression testing, as well as possibly pointing to driver issues (based on trends and analysis/speculation on how various types of corruption could have occurred). For this I have in mind a program and/or script that would scan a partition and gather up all the blocks with UDF metadata into a tarfile, which could then be used to reconstruct an image of the filesystem (without any file content, of course).

@Randrianasulu
Copy link

there was link to udf_test archive, archive was downloaded and looked into, not tried to compile it on Android/termux yet..
https://github.com/gmerlino/format-udf/wiki/fsck-tools-for-UDF

@pali
Copy link
Owner

pali commented Nov 25, 2021

udf_test is still available to download from moved Philips Parther Area website and seems that registration is not needed anymore.

@Randrianasulu
Copy link

@pali there is now fsck_udf from netbsd (also can create udf 2.50 fs on hd)

NetBSD/src@c146cfc

"Newfs_udf and makefs now also support formatting of UDF 2.50 with a metadata partition."

I tried to make those (makefs/fsck) compile on Linux (see my repo) but they sadly do not work as intended (some descriptors are off, and fsck can segfault on just created test image) - strangely there is no segfault on termux...

@hdante
Copy link

hdante commented Apr 26, 2024

Hello, any updates on fsck.udf ?

@argorain
Copy link

argorain commented Apr 26, 2024 via email

@hdante
Copy link

hdante commented Apr 26, 2024

Hello, ok, no problem, but if you don't want to implement it anymore and still think it's important and should be maintained, may I suggest you that you post a public request for help ? This should be in contrast to the recently seen xz backdoor, where the lack of publicity allowed bad actors to hijack the slowly evolving project.

@argorain
Copy link

argorain commented Apr 26, 2024 via email

@hdante
Copy link

hdante commented Apr 27, 2024

No, I can't, I have a chronic illness and don't have free time. Less important than immediately finishing it is urgently announcing that help is needed.

@hdante
Copy link

hdante commented Apr 27, 2024

More important

@smagnani
Copy link
Contributor

FYI. when I was working on a UDF-centric product several years ago I did try to make incremental improvements to Vojtech's work. You may find my fork (or at least some of the changesets) useful.

https://github.com/smagnani/udftools.git

I do use this udffsck to check integrity periodically and to make simple repairs such as closing a LVID left open by a surprise dismount.

Unfortunately I too no longer have time to devote to this project.

Best Regards,
Steve

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

9 participants