MLUG: Re: [MLUG] backup via cron
Re: [MLUG] backup via cron
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mark Rages wrote:
On 2/3/06, Stephen Montgomery-Smith <EMAIL:PROTECTED> wrote:

So, when you type
growisofs -Z /dev/dvd -J -R /var/ftp/files
under su, not as a script, you don't get the message:
WARNING: /dev/dvd already carries isofs!
?



from the man page I quoted earlier:

       If  the  media  already carries isofs and growisofs is invoked with -Z
       option non-interactively,  e.g.  through  cron,  it  shall  fail  with
       "FATAL:  /dev/dvd  already  carries  isofs!" Note that only ISO9660 is
       recognized, you can perfectly zap e.g. an UDF filesystem  non-interac-
       tively.

This explains why it works directly from the shell, and fails in the
script.  growisofs senses it's being run from a script and changes
from WARNING to FATAL.   (I'm guessing there's a bug and it prints
WARNING in the error message, but aborts anyway.)

That would make sense.

What does

mkisofs -version

or

mkisofs --version

do?







Regards, Mark EMAIL:PROTECTED -- You think that it is a secret, but it never has been one. - fortune cookie

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members





_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members