[Stgt-devel] Prototype MMC DVD-ROM and burnable DVD+R implementation
Tue Apr 29 07:14:30 CEST 2008
On Tue, 29 Apr 2008 07:19:49 +1000
"ronnie sahlberg" <ronniesahlberg at gmail.com> wrote:
> On Tue, Apr 29, 2008 at 3:47 AM, FUJITA Tomonori
> <fujita.tomonori at lab.ntt.co.jp> wrote:
> > On Mon, 28 Apr 2008 05:36:34 +1000
> > "ronnie sahlberg" <ronniesahlberg at gmail.com> wrote:
> > > Hi,
> > >
> > > Please find attached a series of patches to enhance the MMC emulation
> > > to allow writing to emulated DVD+R disks.
> > > The emulation checks the backing store file when coming online and
> > > decides which type of emulation profile should be used :
> > > If there is no backingstore file or the device is offline this is
> > > emulated as NO_PROFILE and behaves as if there is no media in the "dvd
> > > drive".
> > > If the backing store file is >0 bytes in size, this is emulated as
> > > DVD_ROM and the emulation behaves as if there is a DVD-ROM disk in the
> > > "dvd drive" that can be read from.
> > > If the backing store file is ==0 bytes in size, this is emulated as if
> > > there is a blank writeable DVD+R disk in the "dvd drive", allowing a
> > > user to burn to the device.
> > > Once finished burning and the application issues a CLOSE_TRACK
> > > command, the device morphs from DVD+R into the DVD_ROM profile.
> > Great, thanks!
> > Can you merge this patchset with
> > Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> > ?
> Sure I can.
> How do I do this (I'm not very git-experienced)?
Ok, let me know if you will not use git. I'll merge patchset this
> What git commands should I use to redo the diffs so they get the sign-off text?
You need to configure your name and email adreess:
$ git config --global user.name "Your Name Comes Here"
$ git config --global user.email you at yourdomain.example.com
You can use git-commit as you did (but please commit each patch with
an appropriate subject). Then git-format-patch with '-s' option
produces a proper patchset (proper author and signed-off-by). You
need multiple patches, use git-format-patch with '-n' option, which
gives [PATCH n/m] format subjects.
fujita at arbre:~/git/tgt$ git-format-patch -s -n -o ~/submit HEAD~2
After that, please use git-send-email to send patches.
More information about the stgt