>> > >> >On Solaris, adding a new controler always asigns this new controler a new >> >higher ID (except for the case when the sysadmin explicitly requests different >> >behavior). >> >> What if the OS runs out of next-higher IDs? > >???? > >Do you believe that an int32_t is not sufficient? > I can replug some media in and out repeatedly, maybe even use software to do so. (stuff like sdparm -C eject on USB flash media do their thing) The problem exists. You play it down like one does not need to check malloc() for NULL just because "there's probably enough memory" when the superuser started this process... I mean, it sounds like that. 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/
- References:
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: "Jim Crilly" <jim@why.dont.jablowme.net>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Matthias Andree <matthias.andree@gmx.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: "D. Hazelton" <dhazelton@enter.net>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: jerome lacoste <jerome.lacoste@gmail.com>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Martin Mares <mj@ucw.cz>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jan Engelhardt <jengelh@linux01.gwdg.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- Prev by Date: Re: CD writing in future Linux (stirring up a hornets' nest)
- Next by Date: Re: [PATCH 01/11] RTC subsystem, class
- 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):
![]() |