lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
grep fd /proc/devices
:)

-Justin

On Fri, Aug 17, 2001 at 04:31:27PM -0500, Jeff Meininger wrote:
>
> I'm writing an app that needs to know what floppy drives are connected to
> the system. Right now, I'm parsing the output of 'dmesg', but 'dmesg' can
> fill up so that the part where floppy drives are listed is no longer
> available. Is there an ioctl or some other interface for discovering fd0,
> fd1, etc?
>
> Thanks.
> BTW, I'm not a list member, please Cc: my address!
> -Jeff M
>
> -
> 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/
-
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: 2005-03-22 12:57    [W:0.041 / U:2.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site