[k3b] [Bug 481821] Write RW discs without needing exclusive access.

Leslie Zhai bugzilla_noreply at kde.org
Sat Mar 30 06:44:35 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=481821

Leslie Zhai <zhaixiang at loongson.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhaixiang at loongson.cn

--- Comment #2 from Leslie Zhai <zhaixiang at loongson.cn> ---
Hi Gordon,

Perhaps it is able to hack dvd+rw-tools-7.1/growisofs.c about line 705 and 2598
to open the file descriptor:

int fd = open64 (ioctl_device,O_RDONLY|O_NONBLOCK|O_EXCL);

Opening a file descriptor with O_EXCL might not give the exclusive access:
https://www.gnu.org/software/libc/manual/html_node/Open_002dtime-Flags.html

Thanks,
Leslie Zhai

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list