bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] better block device detection for linux 2.6


From: Andres Salomon
Subject: Re: [PATCH] better block device detection for linux 2.6
Date: Fri, 18 Nov 2005 14:20:55 -0500

On Wed, 2005-11-16 at 23:50 -0500, Andres Salomon wrote:
> Hi,
> 
> The root problem of my prior patch was due to the sketchy probing of
> partitions in linux, using /proc/partitions and attempting to understand
> the names.  Linux 2.6 now includes /sys/block, which contains all block
> devices on the system (and their partitions underneath that).  The
> attached patch makes parted attempt to probe devices via /sys/block, and
> fall back to /proc/partitions if /sys isn't mounted.
> 

FYI, I updated the patch:

http://mouth.voxel.net/~dilinger/parted2.patch





reply via email to

[Prev in Thread] Current Thread [Next in Thread]