Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-03 Thread Carl Delsey
On Thu, Aug 04, 2005 at 12:06:15AM +0200, Hanspeter Roth wrote:
>   On Aug 01 at 22:31, Hanspeter Roth spoke:
> 
> > 
> > Hello,
> > 
> > I'm trying to burn an iso image onto a DVD+RW. 
> > I'm trying: 
> > 
> > growisofs -Z /dev/cd0=image.iso
> > 
> > This yields:
> > 
> > growisofs: no mkisofs options are permitted with =, aborting...
> 
> I must have been drunk!
> I had also an additional option `-v' on the command-line.
> Without this option it works.
> 
> Sorry for the noise!

That's good it's sorted out now. I was starting to question my
debugging skills trying to figure this one out. ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-03 Thread Hanspeter Roth
  On Aug 01 at 22:31, Hanspeter Roth spoke:

> 
> Hello,
> 
> I'm trying to burn an iso image onto a DVD+RW. 
> I'm trying: 
> 
> growisofs -Z /dev/cd0=image.iso
> 
> This yields:
> 
> growisofs: no mkisofs options are permitted with =, aborting...

I must have been drunk!
I had also an additional option `-v' on the command-line.
Without this option it works.

Sorry for the noise!

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Hanspeter Roth
  On Aug 01 at 22:08, Carl Delsey spoke:

> Finally, if none of those things work, you might try:
> growisofs -Z /dev/cd0=/dev/fd/0 < image.iso

Ok, I tried this too, but the result is the same.
And I also tried with -dvd-compat.
I also tried on NetBSD and OpenBSD. I got the same message:

growisofs: no mkisofs options are permitted with =, aborting...

When I tried on Linux it worked.
Also on FreeBSD it works with `burncd' (with it's own syntax).

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 12:31:17PM -0400, Chuck Swiger wrote:
> 
> The Handbook has good documentation on using dvd+rw-tools as well as other 
> software, and I would second the recomendation that people take a look at 
> it if they want to burn CD's or DVD's.
> 
> You are welcome to hold the opinion that the documentation is complete, but:
> 
> 13-sec% cd /usr/ports/sysutils/dvd+rw-tools && make extract > /dev/null
> 14-sec% grep luke work/dvd+rw-tools-5.21.4.10.8/growisofs.c
>  * - undocumented -use-the-force-luke flag to overwrite the media
>  * - extended syntax for -use-the-force-luke option, it's now possible
>  *   to engage DVD-R[W] dummy mode by -use-the-force-luke=[tty,]dummy
>  * - complement -use-the-force-luke=dao[:size] to arrange for piping
>  * - implement -use-the-force-luke=seek:N -Z /dev/dvd=image to arrange
>  *   -use-the-force-luke=seek:N it's easier to maintain "tar-formatted"
>  * - -use-the-force-luke=tracksize:size option by suggestion from K3b;
>  * - -use-the-force-luke=wrvfy for WRITE AND VERIFY(10);
>  * - -use-the-force-luke=4gms to allow ISO9660 directory structures
>  * - more sane sanity check for -use-the-force-luke=tracksize:N;
>  * - -use-the-force-luke=break:size to set Layer Break position for
>  * - -use-the-force-luke=noload to leave tray ejected at the end;
> else if (!strncmp(opt,"-use-the-force-luke",19))
> 
> ...or consult the manpage, again:
> 
>   "There're   several   undocumented   options   commonly   denoted   
>   with
>-use-the-force-luke prefix. Some of them serve debugging purposes. 
>Some
>require  certain  knowledge  about  recording process or even OS 
>kernel
>internals and as being such can induce confusing behaviour. Some are 
>to
>be  used in very specific situations better recognized by front-ends 
>or
>automated scripts. Rationale behind leaving these options  
>undocumented
>is  that  those  few users who would actually need to use them 
>directly
>can as well consult the source code  or  obtain  specific  
>instructions
>elsewhere."
>

I don't see the problem, the text above clearly explain the reason.
And according to questions on freebsd-questions@,, the main problem is
the fact no one read the "existing" documentation;  For example, a recent
thread about DVD burning speed/DMA issue... with the solution documented
in many places...

However I can understand your point of view regarding the fact the
manual page do not even mention briefly the "invisible" options.  A
volunteer should write a patch against the manual page and send it to
Andy.

Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Chuck Swiger

Marc Fonvieille wrote:

On Tue, Aug 02, 2005 at 10:50:01AM -0400, Chuck Swiger wrote:

[ ... ]
To some extent, Andy doesn't want to fully document everything to encourage 
people to either "use the source, luke", or to create more user-friendly 
(but seperate) frontends like k3b.  I don't fully understand the mindset of 
not making a program fully documented or oriented towards its users, but 
Andy has been reasonably responsive to integrating FreeBSD changes for the 
port, so I'm not going to complain...


I do not agree with that statement, Andy helped us to clearly document
growisofs in the Handbook, it's just a shame people hardly read the DVD
section.  Regarding the complex or "invisible" options, they should not
be used/exist if DVD burners firmware or DVD media were without bugs :(


The Handbook has good documentation on using dvd+rw-tools as well as other 
software, and I would second the recomendation that people take a look at it if 
they want to burn CD's or DVD's.


You are welcome to hold the opinion that the documentation is complete, but:

13-sec% cd /usr/ports/sysutils/dvd+rw-tools && make extract > /dev/null
14-sec% grep luke work/dvd+rw-tools-5.21.4.10.8/growisofs.c
 * - undocumented -use-the-force-luke flag to overwrite the media
 * - extended syntax for -use-the-force-luke option, it's now possible
 *   to engage DVD-R[W] dummy mode by -use-the-force-luke=[tty,]dummy
 * - complement -use-the-force-luke=dao[:size] to arrange for piping
 * - implement -use-the-force-luke=seek:N -Z /dev/dvd=image to arrange
 *   -use-the-force-luke=seek:N it's easier to maintain "tar-formatted"
 * - -use-the-force-luke=tracksize:size option by suggestion from K3b;
 * - -use-the-force-luke=wrvfy for WRITE AND VERIFY(10);
 * - -use-the-force-luke=4gms to allow ISO9660 directory structures
 * - more sane sanity check for -use-the-force-luke=tracksize:N;
 * - -use-the-force-luke=break:size to set Layer Break position for
 * - -use-the-force-luke=noload to leave tray ejected at the end;
else if (!strncmp(opt,"-use-the-force-luke",19))

...or consult the manpage, again:

  "There're   several   undocumented   options   commonly   denoted   with
   -use-the-force-luke prefix. Some of them serve debugging purposes. Some
   require  certain  knowledge  about  recording process or even OS kernel
   internals and as being such can induce confusing behaviour. Some are to
   be  used in very specific situations better recognized by front-ends or
   automated scripts. Rationale behind leaving these options  undocumented
   is  that  those  few users who would actually need to use them directly
   can as well consult the source code  or  obtain  specific  instructions
   elsewhere."

--
-Chuck

"The human race's favorite method for being in control of the facts
 is to ignore them."  -Celia Green

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Marc Fonvieille
On Tue, Aug 02, 2005 at 10:50:01AM -0400, Chuck Swiger wrote:
> Carl Delsey wrote:
> [ ... ]
> >You're right. My mistake. That's what I get for using my eyes to search a
> >document instead of using the search feature. :-)
> 
> No worry: growisofs' manpage and the way it uses command line arguments is 
> not entirely consistent :-)
> 
> To some extent, Andy doesn't want to fully document everything to encourage 
> people to either "use the source, luke", or to create more user-friendly 
> (but seperate) frontends like k3b.  I don't fully understand the mindset of 
> not making a program fully documented or oriented towards its users, but 
> Andy has been reasonably responsive to integrating FreeBSD changes for the 
> port, so I'm not going to complain...
>

I do not agree with that statement, Andy helped us to clearly document
growisofs in the Handbook, it's just a shame people hardly read the DVD
section.  Regarding the complex or "invisible" options, they should not
be used/exist if DVD burners firmware or DVD media were without bugs :(

Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-02 Thread Chuck Swiger

Carl Delsey wrote:
[ ... ]

You're right. My mistake. That's what I get for using my eyes to search a
document instead of using the search feature. :-)


No worry: growisofs' manpage and the way it uses command line arguments is not 
entirely consistent :-)


To some extent, Andy doesn't want to fully document everything to encourage 
people to either "use the source, luke", or to create more user-friendly (but 
seperate) frontends like k3b.  I don't fully understand the mindset of not 
making a program fully documented or oriented towards its users, but Andy has 
been reasonably responsive to integrating FreeBSD changes for the port, so I'm 
not going to complain...


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Carl Delsey
On Tue, Aug 02, 2005 at 01:25:22AM -0400, Chuck Swiger wrote:
> Carl Delsey wrote:
> >
> >It's valid syntax ... just not documented in the man page. You have to
> >go out to the website to find out about it.
> 
> Look just before the NOTES section of the manpage:
> 
> " To use growisofs to write a pre-mastered ISO-image to a DVD:
> 
> growisofs -dvd-compat -Z /dev/dvd=image.iso

You're right. My mistake. That's what I get for using my eyes to search a
document instead of using the search feature. :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Chuck Swiger

Carl Delsey wrote:

On Tue, Aug 02, 2005 at 09:50:03AM +0930, Greg 'groggy' Lehey wrote:

[ ... ]

growisofs -Z /dev/cd0=image.iso


The version of growisofs that I use doesn't have a -Z option.  From a
system that does:

  -Z /dev/dvd
 Burn  an  initial session to the selected device. A special form
 of this option is recognized to support burning of  pre-mastered
 images. See EXAMPLES section for further details.

Is this your intention?  If so, it seems that you're not sticking to
the syntax.


It's valid syntax ... just not documented in the man page. You have to
go out to the website to find out about it.


Look just before the NOTES section of the manpage:

" To use growisofs to write a pre-mastered ISO-image to a DVD:

growisofs -dvd-compat -Z /dev/dvd=image.iso

  where image.iso represents an arbitrary object in the filesystem,  such
  as file, named pipe or device entry.  Nothing is growing here and com-
  mand name is not intuitive in this context."

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Carl Delsey
On Tue, Aug 02, 2005 at 09:50:03AM +0930, Greg 'groggy' Lehey wrote:
> On Monday,  1 August 2005 at 22:31:45 +0200, Hanspeter Roth wrote:
> >
> > Hello,
> >
> > I'm trying to burn an iso image onto a DVD+RW.
> > I'm trying:
> >
> > growisofs -Z /dev/cd0=image.iso
> 
> The version of growisofs that I use doesn't have a -Z option.  From a
> system that does:
> 
>-Z /dev/dvd
>   Burn  an  initial session to the selected device. A special form
>   of this option is recognized to support burning of  pre-mastered
>   images. See EXAMPLES section for further details.
> 
> Is this your intention?  If so, it seems that you're not sticking to
> the syntax.

It's valid syntax ... just not documented in the man page. You have to
go out to the website to find out about it.

> > This yields:
> >
> > growisofs: no mkisofs options are permitted with =, aborting...

Looking through the code, this error message seems to mean that
growisofs found a parameter that it doesn't recognize and assumes you
mean to pass it to mkisofs.

I'd double check the spelling of all the options. Maybe retype the
command to make sure there aren't any invisible control characters that
are somehow getting interpreted as options.

If none of that works, try adding --quiet to the command line. My quick
look through the code suggests this might work (Though my confidence of
that is low). If it does work, I'd really like to hear it though.

Finally, if none of those things work, you might try:
growisofs -Z /dev/cd0=/dev/fd/0 < image.iso

> > `dmesg | grep cd0` is:
> >
> > acd0: CDRW  at ata1-master PIO4
> > cd0 at ata1 bus 0 target 0 lun 0
> > cd0:  Removable CD-ROM SCSI-0 device
> > cd0: 16.000MB/s transfers
> > cd0: Attempt to query device size failed: NOT READY, Medium not present - 
> > tray closed
> 
> This doesn't tell me whether you have a /dev/cd0 or not.  That depends
> on the release of FreeBSD.  Use 'ls -l /dev/cd0' and check that it's a
> character device.  You should see:
> 
>crw-r-  1 root  operator4,  28 Jun 25 21:11 /dev/cd0
> 
> Older systems have:
> 
>brw-r-  1 root  operator6,   0 Aug 26  2000 /dev/cd0a
>brw-r-  1 root  operator6,   2 Aug 26  2000 /dev/cd0c
> 
> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply or reply to the original recipients.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Greg 'groggy' Lehey
On Monday,  1 August 2005 at 22:31:45 +0200, Hanspeter Roth wrote:
>
> Hello,
>
> I'm trying to burn an iso image onto a DVD+RW.
> I'm trying:
>
> growisofs -Z /dev/cd0=image.iso

The version of growisofs that I use doesn't have a -Z option.  From a
system that does:

   -Z /dev/dvd
  Burn  an  initial session to the selected device. A special form
  of this option is recognized to support burning of  pre-mastered
  images. See EXAMPLES section for further details.

Is this your intention?  If so, it seems that you're not sticking to
the syntax.

> This yields:
>
> growisofs: no mkisofs options are permitted with =, aborting...
>
> `dmesg | grep cd0` is:
>
> acd0: CDRW  at ata1-master PIO4
> cd0 at ata1 bus 0 target 0 lun 0
> cd0:  Removable CD-ROM SCSI-0 device
> cd0: 16.000MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present - 
> tray closed

This doesn't tell me whether you have a /dev/cd0 or not.  That depends
on the release of FreeBSD.  Use 'ls -l /dev/cd0' and check that it's a
character device.  You should see:

   crw-r-  1 root  operator4,  28 Jun 25 21:11 /dev/cd0

Older systems have:

   brw-r-  1 root  operator6,   0 Aug 26  2000 /dev/cd0a
   brw-r-  1 root  operator6,   2 Aug 26  2000 /dev/cd0c

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpGl3LzRlymO.pgp
Description: PGP signature


growisofs: no mkisofs options are permitted with =, aborting

2005-08-01 Thread Hanspeter Roth

Hello,

I'm trying to burn an iso image onto a DVD+RW. 
I'm trying: 

growisofs -Z /dev/cd0=image.iso

This yields:

growisofs: no mkisofs options are permitted with =, aborting...

`dmesg | grep cd0` is:

acd0: CDRW  at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closed

FreeBSD is 6.0-BETA1. Growisofs is version 5.21 and mkisofs is 2.01
(cdrtools is 2.01).

How can one burn an iso image onto a DVD+RW by growisofs?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"