Summary: | [PATCH] Add basic support for UDF filesystem | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | Pali Rohár <pali.rohar> |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | [PATCH] Add basic support for UDF filesystem |
Description
Pali Rohár
2017-08-13 11:06:46 UTC
Note that incorrect MBR means that filesystem is not detected by Windows systems which is a big problem as choice for UDF is multiplatform support. (In reply to Pali Rohár from comment #0) > Problems: > * Check for max label length is incorrect too as it depends on characters > itself in label. Maybe I should restrict it to 63 for now and refactor later? 63 is not that little, should be enough for most use cases. Then we can extend API to check a particular label and not just length. (In reply to Andrius Štikonas from comment #2) > (In reply to Pali Rohár from comment #0) > > > Problems: > > * Check for max label length is incorrect too as it depends on characters > > itself in label. > > Maybe I should restrict it to 63 for now and refactor later? 63 is not that > little, should be enough for most use cases. Then we can extend API to check > a particular label and not just length. It is not so simple. Some background: Label is stored as UDF Logical Volume Identifier (--lvid) which has above restrictions. But due to compatibility reasons with Linux systems with older blkid library/binaries, it is needed to store label also into UDF Volume Identifier (--vid) which has restriction of 30 resp. 15 characters (again 15 only if label contains at least one Unicode codepoint above U+FF). Moreover mkudffs prior to version 1.1 is able to process --lvid and --vid params which contains only ASCII characters. Other non-ASCII character cause creating damaged file system. |