fsck/usplash: device names not fully reported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs |
Unknown
|
Unknown
|
|||
e2fsprogs (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
sysvinit (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: sysvinit
When fsck checks all filesystems (-A -R), it runs sub-fscks serially, so that device names are visible one at a time. As a result, when fsck checks multiple devices, usplash only reports the first name, but then counts up to 100% for each device.
As a possible solution, I think it may make sense to re-arrange the usplash text for routine checks to be more like the forced check (putting the current device name on the status line):
Routine check of drives. Press ESC to skip.
$NAME...
additionally, if a percentage goes "backwards" (i.e. a new fsck starts), "get_checked_names" can be called again, and a new "$NAME..." line can be reported (after clearing status and issuing a SUCCESS).
Related branches
Changed in sysvinit: | |
assignee: | nobody → pitti |
Changed in sysvinit: | |
status: | New → In Progress |
Changed in sysvinit: | |
status: | In Progress → Fix Committed |
Ah, this happens if fstab specifies different check order priorities for different partitions (by default all non-root FSes are priority 2 and thus checked in parallel).