sr device can be written?
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?
Jeff
Quoted 5 lines · jeff shia
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?
Just imagine a DVD-RAM drive.
Regards,
Tino
YOu mean the device file can be written?
Quoted 17 lines · Tino Keitel
Quoted 5 lines · jeff shia
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?Just imagine a DVD-RAM drive.
Regards,
Tino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · jeff shia
YOu mean the device file can be written?
Yes, like an ordinary block device.
Quoted 26 lines · Tino Keitel
Quoted 9 lines · jeff shia
Quoted 5 lines
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?Just imagine a DVD-RAM drive.
Quoted 8 lines
Regards,
Tino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
but It seems that I can not open sr0 with openflags O_RDWR,why? open("/dev/sr0",O_RDWR);
It says:sr0 is a read only file sytem.
why?
Quoted 37 lines · Tino Keitel
Quoted 1 line · jeff shia
YOu mean the device file can be written?
Yes, like an ordinary block device.
Quoted 20 lines · Tino Keitel
Quoted 9 lines · jeff shia
Quoted 5 lines
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?Just imagine a DVD-RAM drive.
Quoted 8 lines
Regards,
Tino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/Quoted 6 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · On Tue, 30 Aug 2005 19:07:55 +0800 jeff shia wrote:
but It seems that I can not open sr0 with openflags O_RDWR,why?
open("/dev/sr0",O_RDWR);It says:sr0 is a read only file sytem.
why?
What media did you have in the drive?
For me, with a CD-ROM, I get the same that you reported, but with a DVD+RW disc, it opens successfully.
Quoted 16 lines · Tino Keitel
Quoted 15 lines · jeff shia
Quoted 1 line
YOu mean the device file can be written?
Yes, like an ordinary block device.
Quoted 10 lines · Tino Keitel
Quoted 7 lines · jeff shia
Quoted 5 lines
Hello,
Sr is the Scsi-cdrom device?so it can be read only?but look at the source=
=20
code I notice that
sr can be written also!Is it right?
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Just imagine a DVD-RAM drive.
Regards,
Tino
-
---
~Randy