> >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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Greg KH <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Olivier Galibert <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- References:
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jan Engelhardt <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jens Axboe <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jens Axboe <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Matthias Andree <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Nix <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Bill Davidsen <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Greg KH <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Greg KH <[email protected]>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- Prev by Date: Re: Random reboots
- Next by Date: Re: Flames over -- Re: Which is simpler?
- Previous by thread: Re: CD writing in future Linux (stirring up a hornets' nest)
- Next by thread: Re: CD writing in future Linux (stirring up a hornets' nest)
- Index(es):