lkml.org 
[lkml]   [2006]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: CD writing in future Linux (stirring up a hornets' nest)
    >
    >Of course not. Here's one line of bash that gets you the major:minor
    >file of every block device in the system:
    > block_devices="$(echo /sys/block/*/dev /sys/block/*/*/dev)"
    >
    When was that added? /sys/block/hdc/device/ only has "power", "block",
    "bus" and "driver" here on a 2.6.13-rc3.


    Jan Engelhardt
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-15 16:47    [W:2.353 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site