From: jeff shia <tshxiayu@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: sr device can be written?
Date: Tue, 30 Aug 2005 19:07:55 +0800 [thread overview]
Message-ID: <7cd5d4b405083004072c30dffd@mail.gmail.com> (raw)
In-Reply-To: <20050830095359.GA15431@localhost.localdomain>
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?
On 8/30/05, Tino Keitel <tino.keitel@gmx.de> wrote:
> On Tue, Aug 30, 2005 at 16:11:58 +0800, jeff shia wrote:
> > YOu mean the device file can be written?
>
> Yes, like an ordinary block device.
>
> >
> >
> > On 8/30/05, Tino Keitel <tino.keitel@gmx.de> wrote:
> > > On Tue, Aug 30, 2005 at 12:53:51 +0800, jeff shia wrote:
> > > > 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 majordomo@vger.kernel.org
> > > 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 majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2005-08-30 11:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-30 4:53 sr device can be written? jeff shia
2005-08-30 8:08 ` Tino Keitel
2005-08-30 8:11 ` jeff shia
2005-08-30 9:53 ` Tino Keitel
2005-08-30 11:07 ` jeff shia [this message]
2005-09-01 3:47 ` Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7cd5d4b405083004072c30dffd@mail.gmail.com \
--to=tshxiayu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox