[PATCH] volume_id: volume_id_get_buffer with small FSes

Lauri Kasanen cand at gmx.com
Mon May 16 05:23:37 UTC 2022


On Sun, 15 May 2022 17:18:47 +0000
Alyssa Ross <hi at alyssa.is> wrote:

> I tested both the cases mentioned in the comments — an empty floppy
> drive, and an unused loop device.  Reading from an empty floppy drive
> is ENXIO, and reading from an unused loop device returns 0, so it
> should be fine to drop the minimum length, and be happy with any read
> as long as it returns at least one byte.

> -		 * accesses. Rationale:
> -		 * users complained of slow blkid due to empty floppy drives.

But is it slow like the comment said? Ie. does this patch cause a 1-2s
delay due to the floppy drive spinning up?

- Lauri


More information about the busybox mailing list