[lkml]   [2004]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Partitioned loop devices, support for 127 Partitions on SATA, IDE and SCSI
    Alexander E. Patrakov schrieb:
    > Carl-Daniel Hailfinger wrote:
    >>having seen the problems people have when switching from traditional IDE
    >>drivers to libata if they have more than 15 partitions, I decided to do
    >>something against it. With this patch (and recreating /dev/loop* nodes)
    >>it is possible to support up to 127 partitions per loop device
    >>regardless what the underlying device supports. It works for me
    >>and has the added bonus that it will be in compatibility mode as long
    >>as you don't specify the max_part parameter.
    > Why not just use EVMS? Partition code is supposed to be moved to userspace
    > anyway.

    Because my solution works fine with userspace partitioning code (I tested
    with partx from util-linux) and has the big advantage that partitions
    actually appear at the right place in /sys/block/loopN/loopNpM. Most
    other solutions for many partitions per device failed to make the
    relationship between parent device and partition visible in sysfs.
    I haven't checked yet how EVMS handles this. Could you post
    find /sys/block/$SOME_EVMS_DISK/ -type d
    for a normal disk which is completely managed by EVMS so I can verify
    whether that would be satisfactory. Thanks.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:07    [W:0.020 / U:16.020 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site