[parted-devel] [PATCH] Exclude floppy from device scan
Phillip Susi
psusi at cfl.rr.com
Wed Jan 4 19:39:26 UTC 2012
Come to think of it, that's worthy of a NEWS entry..
On 1/4/2012 2:15 PM, Phillip Susi wrote:
> Floppies can't be partitioned anyhow, and some people have
> misconfigured bios that thinks there is a floppy when there
> actually isn't, and trying to scan it causes hanging.
> ---
> libparted/arch/linux.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
> index 6693cd7..07fc97c 100644
> --- a/libparted/arch/linux.c
> +++ b/libparted/arch/linux.c
> @@ -2125,6 +2125,7 @@ _skip_entry (const char *name)
> { "dm-", sizeof ("dm-") - 1 },
> { "loop", sizeof ("loop") - 1 },
> { "ram", sizeof ("ram") - 1 },
> + { "fd", sizeof ("fd") - 1 },
> { 0, 0 },
> };
>
More information about the parted-devel
mailing list