On 01/11/2010 06:13 PM, Simon Horman wrote:
> On Mon, Jan 11, 2010 at 01:30:18PM -0500, Cole Robinson wrote:
>> Current CDROM detection is hardcoded based on source file name.
>> Make this smarter by attempting a CDROM specific ioctl.
>>
>> This makes '-cdrom /dev/sr0' succeed with no media present
On Mon, Jan 11, 2010 at 01:30:18PM -0500, Cole Robinson wrote:
> Current CDROM detection is hardcoded based on source file name.
> Make this smarter by attempting a CDROM specific ioctl.
>
> This makes '-cdrom /dev/sr0' succeed with no media present.
>
> Signed-off-by: Cole Robinson
> ---
> blo
Current CDROM detection is hardcoded based on source file name.
Make this smarter by attempting a CDROM specific ioctl.
This makes '-cdrom /dev/sr0' succeed with no media present.
Signed-off-by: Cole Robinson
---
block/raw-posix.c | 18 +-
1 files changed, 17 insertions(+), 1