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 05:23 AM, Thomas Schmitt wrote:
> Hi,
>
>>> -    fd = open("/dev/sr0", O_RDWR);
>>> +    fd = open("/dev/sr0", O_RDWR | O_NDELAY);
>> open: fd= 3 , errno= 0
>> write: ret= 2048 , errno= 0
> This explains why xorriso or dvd+rw-format can open the drive
> device file. (The failure to re-format is a different problem.)
>
>
>> No one in Debian user has been able to shed any light on the problem.
> I am not a kernel hacker, but rather a self-proclaimed expert for
> optical drives and ISO 9660.
>
> My best guess is that the kernel believes the medium is read-only
> (like BD-ROM) and thus refuses any attempt to use it for writing
> via the normal POSIX system interface.
>
> But i do not know how to inquire the kernel's view on the medium.
> The drive sees a BD-RE and has no scruples to write data to it.
> But the kernel seems to see a problem with writing.
>
Thanks Thomas.

I'm wondering if the problem is the iso9660 file system that K3B put 
onto the disc? That would make the medium read-only so far as normal 
file I/O is concerned. Perhaps when faced with read-only media, the 
kernel simply assumes that the device itself is read-only.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.