LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2007, 06:10 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
burnmyfolder -v4gb -m /dev/hdc ?


Hello, I would like a command that can automatically burn my folder on several volumes of 4gb without compression, prompt me load a new empty dv.
Can it be possible ?
 
Old 09-16-2007, 02:22 AM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Code:
#!/bin/sh
TEMP=mktemp burnISOXXX.iso
mkiso -o $TEMP $1

KEEP_GOING='y'
while [ $KEEP_GOING!='n' ]
do
  cdrecord dev=$2 $TEMP
  eject $2
  echo "Burn again? [y/n]"
  read KEEP_GOING
done
Save this as myburn.sh. Then run 'chmod +x myburn.sh"
Use it as follows: run myburn.sh [path of folder] [device node of burner]
It's just a quick hacked together script, but it should work.
 
Old 09-16-2007, 04:17 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by PatrickNew View Post
Code:
#!/bin/sh
TEMP=mktemp burnISOXXX.iso
mkiso -o $TEMP $1

KEEP_GOING='y'
while [ $KEEP_GOING!='n' ]
do
  cdrecord dev=$2 $TEMP
  eject $2
  echo "Burn again? [y/n]"
  read KEEP_GOING
done
Save this as myburn.sh. Then run 'chmod +x myburn.sh"
Use it as follows: run myburn.sh [path of folder] [device node of burner]
It's just a quick hacked together script, but it should work.
It sounds a great hacked script ! I'll use it sure
Can/Does it handle the multi volume when my folder has size of 9gb (multi-volume) ?

Thanks for this !
 
Old 09-16-2007, 09:15 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Ah, no I misunderstood the question. I thought you meant that you had less than 4GB in a directory and wanted to burn it to multiple disks (ie, make duplicates). That is what my little script does. I'll get back soon with one that does that.
 
Old 09-16-2007, 10:19 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Code:
#!/bin/sh
ISO=`mktemp ../isoXXX`

TOTAL_SIZE=0
SIZE=0
TO_BURN=""

for X in *
do
  SIZE=`du -b $X | tail -n 1 | cut -f 1`
  if [ `expr $SIZE + $TOTAL_SIZE` -gt 4294967296 ]
  then
    rm $ISO
    mkisofs -o $ISO $TO_BURN
    cdrecord dev=$2 $ISO
    eject $ISO
    echo "Please input another disk, then hit enter"
    read GARBAGE

    TO_BURN="$X"
  else
    TO_BURN="$TO_BURN $X "
  fi
done

mkisofs -o $ISO $TO_BURN
cdrecord dev=$2 $ISO
eject $ISO
Okay, use this exactly as the other, except that now it does what you want. :-) NOTE: use at your own risk - this script is a quick hack that does 0 error checking / recovery and has a couple other limitations.

-It assumes there is a DVD ready at the beginning
-If any one subdirectory of the burn directory is larger than 4 GB, then the script will have undefined results ( aka, it will try to burn more than 4 GB to one DVD, and I don't know how cdrecord handles that.)
-This is 100% untested, so if there are troubles, just post back. This is a temporary hack, and probably shouldn't be used as too permanent a solution.
 
Old 09-17-2007, 12:47 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by PatrickNew View Post
Code:
#!/bin/sh
ISO=`mktemp ../isoXXX`

TOTAL_SIZE=0
SIZE=0
TO_BURN=""

for X in *
do
  SIZE=`du -b $X | tail -n 1 | cut -f 1`
  if [ `expr $SIZE + $TOTAL_SIZE` -gt 4294967296 ]
  then
    rm $ISO
    mkisofs -o $ISO $TO_BURN
    cdrecord dev=$2 $ISO
    eject $ISO
    echo "Please input another disk, then hit enter"
    read GARBAGE

    TO_BURN="$X"
  else
    TO_BURN="$TO_BURN $X "
  fi
done

mkisofs -o $ISO $TO_BURN
cdrecord dev=$2 $ISO
eject $ISO
Okay, use this exactly as the other, except that now it does what you want. :-) NOTE: use at your own risk - this script is a quick hack that does 0 error checking / recovery and has a couple other limitations.

-It assumes there is a DVD ready at the beginning
-If any one subdirectory of the burn directory is larger than 4 GB, then the script will have undefined results ( aka, it will try to burn more than 4 GB to one DVD, and I don't know how cdrecord handles that.)
-This is 100% untested, so if there are troubles, just post back. This is a temporary hack, and probably shouldn't be used as too permanent a solution.



Quote:
67.08% done, estimate finish Mon Sep 17 19:49:35 2007
67.16% done, estimate finish Mon Sep 17 19:49:34 2007
67.25% done, estimate finish Mon Sep 17 19:49:33 2007
67.34% done, estimate finish Mon Sep 17 19:49:33 2007
67.43% done, estimate finish Mon Sep 17 19:49:34 2007
67.52% done, estimate finish Mon Sep 17 19:49:34 2007
67.61% done, estimate finish Mon Sep 17 19:49:34 2007
67.70% done, estimate finish Mon Sep 17 19:49:38 2007
67.79% done, estimate finish Mon Sep 17 19:49:40 2007
67.88% done, estimate finish Mon Sep 17 19:49:40 2007
67.97% done, estimate finish Mon Sep 17 19:49:40 2007
68.06% done, estimate finish Mon Sep 17 19:49:39 2007
68.15% done, estimate finish Mon Sep 17 19:49:41 2007
68.24% done, estimate finish Mon Sep 17 19:49:40 2007
genisoimage: No space left on device. cannot fwrite 32768*1
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identification : 'DVDRW SHM-165P6S'
Revision : 'MS0M'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Speed set to 5540 KB/s
wodim: Drive needs to reload the media to return to proper status.
wodim: ERROR: Could not manage to find medium size, and more than 4.3 GB of data for a non dual layer disc.
wodim: Cannot write more than remaining DVD capacity.
eject: tried to use `../iso046' as device name but it is no block device
eject: tried to use `./../iso046' as device name but it is no block device
eject: unable to find or open device for: `../iso046'
Mon Sep 17 19:45:38 CEST 2007
I saw twice these percents :?
then saw 1.2GB (size okay of my folder)
then saw sthg 3.3 GB ..?

I got an error message... hmm something is apparently wrong.
this is the present script (tuned for debug) now.

Code:
#!/bin/sh

clear
date
if [ "$2" != "" ] ; then
echo " "
echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
echo " Folder backup script:"
echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
echo " "
echo " The available cdrom/dvd drives for burning are :"
ls -la "$(cat /etc/fstab  | grep /media/cdrom | awk ' { print $1  }  ')"
echo " Burning of the following folder: $1"
ls -la $1
du -h $1
echo " "
echo " to the following device : $2 "
echo " Nota: Maximum device size for burning set to value of: 4294967296"
echo " "
printf "Ready for burning [y/n] ?"
read THEFIRSTGARBAGE
if [ "$THEFIRSTGARBAGE"  == "y" ] ; then 

ISO=`mktemp ../isoXXX`

TOTAL_SIZE=0
SIZE=0
TO_BURN=""
echo "==> New burning "  >> /tmp/burningscript.log
echo "$(date) :" >> /tmp/burningscript.log
for X in *
do
  SIZE=`du -b $X | tail -n 1 | cut -f 1`
  if [ `expr $SIZE + $TOTAL_SIZE` -gt 4294967296 ]
  then
    rm $ISO
    echo " Value iso: $ISO" 
    echo " Value to_burn: $TO_BURN"
    echo " Value 2: $2" 
    echo " $(date): mkisofs started"  
    echo " Value iso: $ISO"  >> /tmp/burningscript.log
    echo " Value to_burn: $TO_BURN" >> /tmp/burningscript.log
    echo " Value 2: $2"  >> /tmp/burningscript.log
    echo " mkisofs started"  >> /tmp/burningscript.log
    mkisofs -o $ISO $TO_BURN
    echo " $(date): cdrecord started"   >> /tmp/burningscript.log
    echo " $(date): cdrecord started"   
    cdrecord dev=$2 $ISO
    echo " $(date): eject $ISO "   >> /tmp/burningscript.log
    echo " $(date): eject $ISO "    
    eject $ISO
    echo "Please input another disk, then hit enter"
    read GARBAGE

    TO_BURN="$X"
  else
    TO_BURN="$TO_BURN $X "
  fi
done

mkisofs -o $ISO $TO_BURN
cdrecord dev=$2 $ISO
eject $ISO


fi
fi
date
echo "Bye"
There is too a problem with the names, they are shortened ... to 8 chars + ext.

I mounted the burnt cdrom, and it looks that it is burnt...


It looks that I can read the cdrom
btw, I mistaken, my folder was only 1.2G...


Let's MD5 ...

Edit:
Lazy to MD5, the names are differently burnt on the device
(if you've got a way to make it longer names, I'd welcome it)
Then I'll make another small update of the script and will post.

What would you think about a MD5 checking ?
Would you by chance the error displayed above ?
thanks a lot

Last edited by frenchn00b; 09-17-2007 at 01:07 PM.
 
Old 09-17-2007, 01:45 PM   #7
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Adding "-allow-lowercase -ldots -allow-multidot -J -joliet-long -r" immediately after the word "cdrecord" should help the filename distortion. To avoid some potentially serious mistakes add "cd $1" as the first line (immediately after #!/bin/sh). Can you repost your the exact command you typed? It seems that either by a programming error or by improper usage that the script is using $ISO as the device to burn to. Did you specify a device?
 
Old 09-18-2007, 01:45 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
----
--
-

Quote:
for X in *
the cd $1, means taht we will loose the folder name... dont know. it ought to be like cp -a, mv, ... standard.
I give it a try now...

Last edited by frenchn00b; 09-18-2007 at 01:49 PM.
 
Old 09-18-2007, 01:50 PM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Code:
eady for burning [y/n] ?y
 Value iso: ../iso537
 Value to_burn:
 Value 2: /dev/hdb
 Tue Sep 18 20:49:40 CEST 2007: mkisofs started
I: -input-charset not specified, using iso-8859-1 (detected in locale settings)
genisoimage: Missing pathspec.
Usage: genisoimage [options] -o file directory ...

Use genisoimage -help
to get a list of valid options.

Report problems to debburn-devel@lists.alioth.debian.org.
 Tue Sep 18 20:49:40 CEST 2007: cdrecord started
wodim: Bad Option: -allow-lowercase.
Usage: wodim [options] track1...trackn

Use     wodim -help
to get a list of valid options.

Use     wodim blank=help
to get a list of valid blanking options.

Use     wodim dev=b,t,l driveropts=help -checkdrive
to get a list of drive specific options.

Use     wodim dev=help
to get a list of possible SCSI transport specifiers.
 Tue Sep 18 20:49:40 CEST 2007: eject ../iso537
eject: unable to find or open device for: `../iso537'
Please input another disk, then hit enter

dvd1
Ready for burning [y/n] ?y
Value iso: ../iso609
Value to_burn:
Value 2: /dev/hdb
Tue Sep 18 20:53:39 CEST 2007: mkisofs started
I: -input-charset not specified, using iso-8859-1 (detected in locale settings)
genisoimage: Missing pathspec.
Usage: genisoimage [options] -o file directory ...

Use genisoimage -help
to get a list of valid options.

Report problems to debburn-devel@lists.alioth.debian.org.
Tue Sep 18 20:53:39 CEST 2007: cdrecord started
wodim: Bad Option: -ldots.
Usage: wodim [options] track1...trackn


mkisofs -o




==> New burning
Tue Sep 18 20:49:40 CEST 2007 :
Value iso: ../iso537
Value to_burn:
Value 2: /dev/hdb
mkisofs started
Tue Sep 18 20:49:40 CEST 2007: cdrecord started
Tue Sep 18 20:49:40 CEST 2007: eject ../iso537
==> New burning
Tue Sep 18 20:53:39 CEST 2007 :
Value iso: ../iso609
Value to_burn:
Value 2: /dev/hdb
mkisofs started
Tue Sep 18 20:53:39 CEST 2007: cdrecord started
Tue Sep 18 20:53:39 CEST 2007: eject ../iso609

Last edited by frenchn00b; 09-18-2007 at 01:55 PM.
 
Old 09-18-2007, 01:57 PM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Code:
#!/bin/sh

date
if [ "$2" != "" ] ; then
echo " "
echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
echo " Folder backup script:"
echo "-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"
echo " "
echo " The available cdrom/dvd drives for burning are :"
echo $1
ls -la "$1"

ls -la "$(cat /etc/fstab  | grep /media/cdrom | awk ' { print $1  }  ')"
echo " Burning of the following folder: $1"
echo "$1"
ls -la "$1"
du -h "$1"
echo " "
echo " to the following device : $2 "
echo " Nota: Maximum device size for burning set to value of: 4294967296"
echo " "
echo  $1
cd $1
printf "Ready for burning [y/n] ?"
read THEFIRSTGARBAGE
if [ "$THEFIRSTGARBAGE"  == "y" ] ; then 

ISO=`mktemp ../isoXXX`

TOTAL_SIZE=0
SIZE=0
TO_BURN=""
echo "==> New burning "  >> /tmp/burningscript.log
echo "$(date) :" >> /tmp/burningscript.log
for X in *
do
  SIZE=`du -b $X | tail -n 1 | cut -f 1`
  if [ `expr $SIZE + $TOTAL_SIZE` -gt 4294967296 ]
  then
    rm $ISO
    echo " Value iso: $ISO" 
    echo " Value to_burn: $TO_BURN"
    echo " Value 2: $2" 
    echo " $(date): mkisofs started"  
    echo " Value iso: $ISO"  >> /tmp/burningscript.log
    echo " Value to_burn: $TO_BURN" >> /tmp/burningscript.log
    echo " Value 2: $2"  >> /tmp/burningscript.log
    echo " mkisofs started"  >> /tmp/burningscript.log
    mkisofs -o $ISO $TO_BURN
    echo " $(date): cdrecord started"   >> /tmp/burningscript.log
    echo " $(date): cdrecord started"   
    cdrecord -allow-lowercase -ldots -allow-multidot -J -joliet-long -r dev=$2 $ISO
    echo " $(date): eject $ISO "   >> /tmp/burningscript.log
    echo " $(date): eject $ISO "    
    eject $ISO
    echo "Please input another disk, then hit enter"
    read GARBAGE

    TO_BURN="$X"
  else
    TO_BURN="$TO_BURN $X "
  fi
done

mkisofs -o $ISO $TO_BURN
cdrecord dev=$2 $ISO
eject $ISO


fi
fi
date
echo "Bye"
tired to try to understand ... let's continue the procedure & burn with that scritp
even if Value iso:
is empty
 
Old 09-18-2007, 02:02 PM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Code:
ne, estimate finish Tue Sep 18 20:58:03 2007
  0.43% done, estimate finish Tue Sep 18 20:58:03 2007
  0.65% done, estimate finish Tue Sep 18 20:58:03 2007
  0.87% done, estimate finish Tue Sep 18 20:58:03 2007
  1.08% done, estimate finish Tue Sep 18 20:58:03 2007
  1.30% done, estimate finish Tue Sep 18 20:59:19 2007
  1.52% done, estimate finish Tue Sep 18 20:59:08 2007
  1.73% done, estimate finish Tue Sep 18 20:59:58 2007
  1.95% done, estimate finish Tue Sep 18 20:59:45 2007
  2.17% done, estimate finish Tue Sep 18 21:01:07 2007
  2.38% done, estimate finish Tue Sep 18 21:01:32 2007
  2.60% done, estimate finish Tue Sep 18 21:01:15 2007
  2.82% done, estimate finish Tue Sep 18 21:01:35 2007
  3.03% done, estimate finish Tue Sep 18 21:01:20 2007
  3.25% done, estimate finish Tue Sep 18 21:01:07 2007
  3.47% done, estimate finish Tue Sep 18 21:01:24 2007
  3.68% done, estimate finish Tue Sep 18 21:01:40 2007
  3.90% done, estimate finish Tue Sep 18 21:01:53 2007
  4.12% done, estimate finish Tue Sep 18 21:01:41 2007
  4.33% done, estimate finish Tue Sep 18 21:02:16 2007
  4.55% done, estimate finish Tue Sep 18 21:02:04 2007
  4.77% done, estimate finish Tue Sep 18 21:02:14 2007
  4.98% done, estimate finish Tue Sep 18 21:02:23 2007
  5.20% done, estimate finish Tue Sep 18 21:02:32 2007
  5.42% done, estimate finish Tue Sep 18 21:02:21 2007
  5.63% done, estimate finish Tue Sep 18 21:02:29 2007
  5.85% done, estimate finish Tue Sep 18 21:02:19 2007
  6.07% done, estimate finish Tue Sep 18 21:02:26 2007
  6.28% done, estimate finish Tue Sep 18 21:02:17 2007
  6.50% done, estimate finish Tue Sep 18 21:02:24 2007
  6.72% done, estimate finish Tue Sep 18 21:02:16 2007
  6.93% done, estimate finish Tue Sep 18 21:02:22 2007
  7.15% done, estimate finish Tue Sep 18 21:02:28 2007
  7.37% done, estimate finish Tue Sep 18 21:02:34 2007
  7.58% done, estimate finish Tue Sep 18 21:02:26 2007
  7.80% done, estimate finish Tue Sep 18 21:02:32 2007
  8.02% done, estimate finish Tue Sep 18 21:02:37 2007
  8.23% done, estimate finish Tue Sep 18 21:02:30 2007
  8.45% done, estimate finish Tue Sep 18 21:02:35 2007
  8.67% done, estimate finish Tue Sep 18 21:02:28 2007
  8.88% done, estimate finish Tue Sep 18 21:02:33 2007
  9.10% done, estimate finish Tue Sep 18 21:02:26 2007
  9.32% done, estimate finish Tue Sep 18 21:02:42 2007
  9.53% done, estimate finish Tue Sep 18 21:02:46 2007
  9.75% done, estimate finish Tue Sep 18 21:02:50 2007
  9.97% done, estimate finish Tue Sep 18 21:03:24 2007
 10.18% done, estimate finish Tue Sep 18 21:03:17 2007
 10.40% done, estimate finish Tue Sep 18 21:03:20 2007
 10.62% done, estimate finish Tue Sep 18 21:03:13 2007
 10.83% done, estimate finish Tue Sep 18 21:03:35 2007
 11.05% done, estimate finish Tue Sep 18 21:03:28 2007
 11.27% done, estimate finish Tue Sep 18 21:03:31 2007
 11.48% done, estimate finish Tue Sep 18 21:03:25 2007
 11.70% done, estimate finish Tue Sep 18 21:03:27 2007
 11.92% done, estimate finish Tue Sep 18 21:03:21 2007
 12.13% done, estimate finish Tue Sep 18 21:03:24 2007
 12.35% done, estimate finish Tue Sep 18 21:03:26 2007
 12.57% done, estimate finish Tue Sep 18 21:03:29 2007
 12.78% done, estimate finish Tue Sep 18 21:03:23 2007
 13.00% done, estimate finish Tue Sep 18 21:03:26 2007
 13.22% done, estimate finish Tue Sep 18 21:03:20 2007
 13.44% done, estimate finish Tue Sep 18 21:03:30 2007
 13.65% done, estimate finish Tue Sep 18 21:03:25 2007
 13.87% done, estimate finish Tue Sep 18 21:03:27 2007
 14.08% done, estimate finish Tue Sep 18 21:03:29 2007
 14.30% done, estimate finish Tue Sep 18 21:03:24 2007
 14.52% done, estimate finish Tue Sep 18 21:03:33 2007
 14.74% done, estimate finish Tue Sep 18 21:03:35 2007
 14.95% done, estimate finish Tue Sep 18 21:03:30 2007
 15.17% done, estimate finish Tue Sep 18 21:03:32 2007
 15.38% done, estimate finish Tue Sep 18 21:03:34 2007
 15.60% done, estimate finish Tue Sep 18 21:03:42 2007
 15.82% done, estimate finish Tue Sep 18 21:03:38 2007
 16.04% done, estimate finish Tue Sep 18 21:03:39 2007
 16.25% done, estimate finish Tue Sep 18 21:03:41 2007
 16.47% done, estimate finish Tue Sep 18 21:03:49 2007
 16.69% done, estimate finish Tue Sep 18 21:03:50 2007
 16.90% done, estimate finish Tue Sep 18 21:03:52 2007
 17.12% done, estimate finish Tue Sep 18 21:03:53 2007
 17.34% done, estimate finish Tue Sep 18 21:03:54 2007
 17.55% done, estimate finish Tue Sep 18 21:03:50 2007
 17.77% done, estimate finish Tue Sep 18 21:03:51 2007
 17.99% done, estimate finish Tue Sep 18 21:03:53 2007
 18.20% done, estimate finish Tue Sep 18 21:03:54 2007
 18.42% done, estimate finish Tue Sep 18 21:03:50 2007
 18.64% done, estimate finish Tue Sep 18 21:03:51 2007
 18.85% done, estimate finish Tue Sep 18 21:03:47 2007
 19.07% done, estimate finish Tue Sep 18 21:03:49 2007
 19.29% done, estimate finish Tue Sep 18 21:03:50 2007
 19.50% done, estimate finish Tue Sep 18 21:03:46 2007
 19.72% done, estimate finish Tue Sep 18 21:03:47 2007
 19.94% done, estimate finish Tue Sep 18 21:03:49 2007
 20.15% done, estimate finish Tue Sep 18 21:03:45 2007
 20.37% done, estimate finish Tue Sep 18 21:03:46 2007
 20.59% done, estimate finish Tue Sep 18 21:03:43 2007
 20.80% done, estimate finish Tue Sep 18 21:03:44 2007
 21.02% done, estimate finish Tue Sep 18 21:03:45 2007
 21.24% done, estimate finish Tue Sep 18 21:03:46 2007
 21.45% done, estimate finish Tue Sep 18 21:03:43 2007
 21.67% done, estimate finish Tue Sep 18 21:03:49 2007
 21.89% done, estimate finish Tue Sep 18 21:03:45 2007
 22.10% done, estimate finish Tue Sep 18 21:03:46 2007
 22.32% done, estimate finish Tue Sep 18 21:03:43 2007
 22.54% done, estimate finish Tue Sep 18 21:03:44 2007
 22.75% done, estimate finish Tue Sep 18 21:03:41 2007
 22.97% done, estimate finish Tue Sep 18 21:03:42 2007
 23.19% done, estimate finish Tue Sep 18 21:03:39 2007
 23.40% done, estimate finish Tue Sep 18 21:03:44 2007
 23.62% done, estimate finish Tue Sep 18 21:03:41 2007
 23.84% done, estimate finish Tue Sep 18 21:03:42 2007
 24.05% done, estimate finish Tue Sep 18 21:03:43 2007
 24.27% done, estimate finish Tue Sep 18 21:03:44 2007
 24.49% done, estimate finish Tue Sep 18 21:03:41 2007
 24.70% done, estimate finish Tue Sep 18 21:03:47 2007
 24.92% done, estimate finish Tue Sep 18 21:03:48 2007
 25.14% done, estimate finish Tue Sep 18 21:03:45 2007
 25.35% done, estimate finish Tue Sep 18 21:03:50 2007
 25.57% done, estimate finish Tue Sep 18 21:03:47 2007
 25.79% done, estimate finish Tue Sep 18 21:03:48 2007
 26.00% done, estimate finish Tue Sep 18 21:03:45 2007
 26.22% done, estimate finish Tue Sep 18 21:03:46 2007
 26.44% done, estimate finish Tue Sep 18 21:03:43 2007
 26.65% done, estimate finish Tue Sep 18 21:03:44 2007
 26.87% done, estimate finish Tue Sep 18 21:03:41 2007
 27.09% done, estimate finish Tue Sep 18 21:03:42 2007
 27.30% done, estimate finish Tue Sep 18 21:03:39 2007
 27.52% done, estimate finish Tue Sep 18 21:03:44 2007
 27.74% done, estimate finish Tue Sep 18 21:03:45 2007
 27.95% done, estimate finish Tue Sep 18 21:03:46 2007
 28.17% done, estimate finish Tue Sep 18 21:03:43 2007
 28.39% done, estimate finish Tue Sep 18 21:03:44 2007
 28.60% done, estimate finish Tue Sep 18 21:03:45 2007
 28.82% done, estimate finish Tue Sep 18 21:03:43 2007
 29.04% done, estimate finish Tue Sep 18 21:03:47 2007
 29.25% done, estimate finish Tue Sep 18 21:03:48 2007
genisoimage: No space left on device. cannot fwrite 32768*1
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identification : 'DVDRW SHM-165P6S'
Revision       : 'MS0M'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
 
Old 09-18-2007, 03:11 PM   #12
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Is your hard drive nearly fully, the biggest problem we seem to come upon is that 29.25% of the way through creating the ISO, your hard drive seems to run out of space.

Also, is there a reason you'd need a batch script to do this? The whole task would probably be easier with a GUI CD Burner like K3b.
 
Old 09-18-2007, 05:43 PM   #13
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by PatrickNew View Post
Is your hard drive nearly fully, the biggest problem we seem to come upon is that 29.25% of the way through creating the ISO, your hard drive seems to run out of space.

Also, is there a reason you'd need a batch script to do this? The whole task would probably be easier with a GUI CD Burner like K3b.
Indeed I noticed afterwards... so that's why this script. K3b a bit, then I'll give a try again the nice script !
thanks
 
Old 09-20-2007, 12:27 PM   #14
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
93.29% done, estimate finish Thu Sep 20 18:54:25 2007
93.57% done, estimate finish Thu Sep 20 18:54:25 2007
93.84% done, estimate finish Thu Sep 20 18:54:25 2007
94.11% done, estimate finish Thu Sep 20 18:54:25 2007
94.38% done, estimate finish Thu Sep 20 18:54:26 2007
94.65% done, estimate finish Thu Sep 20 18:54:25 2007
94.92% done, estimate finish Thu Sep 20 18:54:25 2007
95.19% done, estimate finish Thu Sep 20 18:54:25 2007
95.46% done, estimate finish Thu Sep 20 18:54:24 2007
95.73% done, estimate finish Thu Sep 20 18:54:24 2007
96.00% done, estimate finish Thu Sep 20 18:54:23 2007
96.27% done, estimate finish Thu Sep 20 18:54:23 2007
96.54% done, estimate finish Thu Sep 20 18:54:22 2007
96.81% done, estimate finish Thu Sep 20 18:54:22 2007
97.08% done, estimate finish Thu Sep 20 18:54:22 2007
97.35% done, estimate finish Thu Sep 20 18:54:22 2007
97.62% done, estimate finish Thu Sep 20 18:54:22 2007
97.89% done, estimate finish Thu Sep 20 18:54:21 2007
98.16% done, estimate finish Thu Sep 20 18:54:21 2007
98.43% done, estimate finish Thu Sep 20 18:54:22 2007
98.70% done, estimate finish Thu Sep 20 18:54:21 2007
98.97% done, estimate finish Thu Sep 20 18:54:21 2007
99.24% done, estimate finish Thu Sep 20 18:54:21 2007
99.51% done, estimate finish Thu Sep 20 18:54:20 2007
99.78% done, estimate finish Thu Sep 20 18:54:20 2007
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 712704
Path table size(bytes): 4492
Max brk space used 24e000
1848991 extents written (3611 MB)
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identification : 'DVDRW SHM-165P6S'
Revision : 'MS0M'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real unknown mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.


Track 01: Total bytes read/written: 3786733568/3786733568 (1848991 sectors).
eject: tried to use `../iso578' as device name but it is no block device
eject: tried to use `./../iso578' as device name but it is no block device
eject: unable to find or open device for: `../iso578'
Thu Sep 20 19:06:54 CEST 2007
Bye

and there is still a 396Mb something file iso578 prsent
it looks it burned 3.8 GB ...
dvd is readable ...
hm hm
does it work, really ...
 
Old 09-20-2007, 12:39 PM   #15
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
nnot access `Photos': No such file or directory
du: cannot access `EPSON': No such file or directory
I: -input-charset not specified, using iso-8859-1 (detected in locale settings)
genisoimage: No such file or directory. Invalid node - 'My'.
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
Error trying to open /dev/hdb exclusively (Device or resource busy)... retrying in 1 second.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identification : 'DVDRW SHM-165P6S'
Revision : 'MS0M'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real unknown mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Track 01: Total bytes read/written: 356352/614400 (300 sectors).
eject: tried to use `../iso128' as device name but it is no block device
eject: tried to use `./../iso128' as device name but it is no block device
eject: unable to find or open device for: `../iso128'
Thu Sep 20 19:37:41 CEST 2007
Bye


the other try failed I guess...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
/dev/hdc no longer linked to /dev/cdrom - why? Ook Slackware 3 08-25-2007 12:00 AM
why has udev swapped /dev/hdc and /dev/hdd ? chaosbear Linux - Hardware 2 08-09-2006 03:23 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration