| Summary: | tde-guidance: mountconfig does not handle LABEL correctly in fstab | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Francois Andriot <albator78> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, kb9vqf |
| Priority: | P5 | ||
| Version: | 3.5.13.2 [Trinity] | ||
| Hardware: | All | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | tde-guidance 3.5.13.2 : fix handling of LABEL in fstab in mountconfig | ||
|
Description
Francois Andriot
2013-06-13 09:23:45 CDT
Created attachment 1308 [details]
tde-guidance 3.5.13.2 : fix handling of LABEL in fstab in mountconfig
The root cause of the problem is that, when using filesystems labels containing "/" caracter, it is seen by hal as the "%" caracter.
(I dunno if this is an HAL bug or if this is a general problem with the "/" caracter in labels)
E.g:
lshal|grep volume.label
volume.label = %usr
The attached patch fixes this problem.
Also, it adds "support" for ext4 partitions.
Even though we don't really support guidance any longer (largely due to long-maintenance issues as the code is Python and relies on HAL in places), I see no harm in this patch. Committed to GIT in hash 3b6ac8e. Thanks for reporting, and for the patch! |