Re: /proc/partitions: CDROM blocks

Mike Galbraith (andre@suse.com)
Sun, 22 Aug 1999 20:17:09 -0700 (PDT)


Nope, the media may be absent but the device is present.

Andre Hedrick
The Linux IDE guy

On Fri, 20 Aug 1999, [iso-8859-1] Johnny Teveßen wrote:

> Hello,
>
> I'm running a 2.2.10ac5-nonSMP kernel on a x86 box.
> On /dev/hdd, there is a sixspeed CD-ROM. Now
> /proc/ide/ide1/hdd/driver says correctly:
>
> ide-cdrom version 4.53
>
> but /proc/partitions lists the (empty) CDROM drive
> as:
>
> major minor #blocks name
> [...]
> 22 64 1073741823 hdd
>
> Shouldn't that rather be "0" blocks? Or: shouldn't
> the entry for "hdd" disappear in /proc/partitions
> when no medium is currently inserted?
>
> ciao,
> johnny
> --
> J. Teveßen, Germany
> PGPkey: http://pgp.lsi.upc.es:11371/pks/lookup?op=get&search=0x5C77B04D
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> 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.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/