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

Re: iso-scan question



On Wed, Jan 28, 2004 at 12:37:33PM -0500, Joey Hess wrote:
> >         
> > 	for type in discs cdroms; do
> > 
> > As far as I can tell, this gives you the same results, except I 
> > don't have to mimic the /dev/ide or /dev/scsi directories for a
> > 2.2.25 kernel. (Okay, at least I haven't needed to yet.)
> 
> That would probably be fine. I'd be just as happy to see iso-scan know
> how to search out non-devfs device entries though.

Would you prefer

	for type in discs cdroms hda hdb hdc hdd sda sdb sdc sdd; do

or just walk through /proc/partitions?

I should think the latter would be superior.

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: signature.asc
Description: Digital signature


Reply to: