Re: BD-RE mount problem
Gary Dale <[email protected]>
| Newsgroups | gmane.comp.audio.cd-record,gmane.linux.debian.user |
|---|---|
| Message-ID | <[email protected]> |
On 10/08/12 01:50 AM, Thomas Schmitt wrote:
> Hi,
>
>>> fd = open("/dev/sr0", O_RDWR);
>> root@transponder:/home/garydale# ./open_sr0
>> open: fd= -1 , errno= 30
>> open: Read-only file system
> This is surprising, because xorriso uses
> open(..., O_RDWR | O_NDELAY);
> when it acquires a drive.
> (I would have expected to see the error with write(), which xorriso
> does not use.)
>
> Whay happens if you change the test program
> - fd = open("/dev/sr0", O_RDWR);
> + fd = open("/dev/sr0", O_RDWR | O_NDELAY);
> compile it, and run again as superuser ?
>
>
> Whatever, a BD-RE device with rw-permission on its device file should
> not throw this error.
> We need kernel expertise to find out what happens here.
>
> Is anybody at debian-user able to give advise or propose experiments
> which shed light on the problem ?
>
root@transponder:/home/garydale# ./open_sr0
open: fd= 3 , errno= 0
write: ret= 2048 , errno= 0
No one in Debian user has been able to shed any light on the problem.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]