Posted: Sat 12 May 2012, 16:46
Ok, here is a test release for those who wants to burn/convert NRG images.
The file system is ext3zigbert wrote:Hmmm, This is weird. The emergency stop is not meant to bring you back to the main window. What kind of filesystem are you using?dougblackburn wrote:Configuration:
Wary Puppy 5.2.2 full hard drive installation
Micron Millenium 767mb ram, 733mgz Pentium III
20gb hard drive about 15% used
Problem description:
I had created a directory /dougstuff. This directory had many sub-directories and files. I opened Pburn and right clicked this directory to select it. Then I clicked on the burn drop down menu and selected to burn a data cd. When the next screen came up I clicked on the burn icon to start the burn. During what looked like a pre-burn process I changed my mind and hit the emergency stop. From previous experience I knew the actual burn had not started. The Pburn application re-displayed the selection screen. I de-selected /dougstuff. Then I quit Pburn. At this point I was going to zip /dougstuff, but it was gone. I couldn't find it with the zip application, using ROX, or using xterm. I used Photorec help restore /dougstuff. Then, I created another directory /dougtest and copied dougstuff to it. Now I had /dougstuff and /dougtest/dougstuff. Then I burned /dougtest/dougstuff (without hitting the emergency stop) successfully. Now I was ready to see if I could duplicate this problem. So, I selected /dougtest/dougstuff for burn and hit the emergency stop during the pre-burn process. But, Pburn did not send me back to the selection screen. It terminated. So, I opened Pburn from the puppy menu again. A dialogue box came up asking me if I wanted to clear temporary storage and start again. I replied yes. The selection screen was displayed. At this point, I checked to see if /dougstuff and dougtest/dougstuff were still available. They were still available. I had to hit the emergency stop about 4 times in order to get it to finally return to the selection screen instead of terminating. When it did return to the selection screen, I de-selected /dougtest/dougstuff. Then I checked to see if /dougtest/dougstuff was still available. To my surprise /dougtest/dougstuff was available, but /dougstuff was gone. So, I restored /dougstuff from /dougtest/dougstuff and tried the whole thing again selecting /dougtest/dougstuff to burn. This time it took me many emergency stops to finally get the application to return to the selection screen instead of terminating. I am still not sure at what point in the process the emergency stop has to be hit in order to return to the selection screen. Finally, when it returned to the selection screen, I de-selected /dougtest/dougstuff and /dougstuff was gone again.
Conclusion:
Source date is lost when the emergency stop returns the user to the selection screen. It is possible the source data was gone upon return to the selection screen or before. I always checked my source data after de-selection.
Doug
Sigmund
Code: Select all
# df -m | grep ' /$'
rootfs 1648 15 1634 1% /
unionfs 1648 15 1634 1% /
Code: Select all
# df -m /root/my-documents/tmp
Filesystem 1M-blocks Used Available Use% Mounted on
unionfs 1648 15 1634 1% /
Code: Select all
# df -m /mnt/home/tmp
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda3 83142 9248 69671 12% /initrd/mnt/dev_save
Code: Select all
NOTMOUNTED=""
case "$TMPOUTDIR" in
/mnt/*) MNTPNT=$(df "$TMPOUTDIR" 2>/dev/null | grep -o '[^ ]*/mnt/.*')
[ "$MNTPNT" ] || NOTMOUNTED="y"
;;
esac
Code: Select all
dvd+rw-format -force /dev/sr0
Code: Select all
dd if=/dev/zero of=/dev/sr0 bs=32k count=32
Code: Select all
# time dvd+rw-format -force /dev/sr0
* BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1.
* 4.7GB DVD+RW media detected.
* formatting 92.3|
real 0m18.088s
user 0m0.000s
sys 0m0.003s
#
#
# time dd if=/dev/zero of=/dev/sr0 bs=32k count=32
32+0 records in
32+0 records out
1048576 bytes (1.0 MB) copied, 3.75384 s, 279 kB/s
real 0m3.784s
user 0m0.007s
sys 0m0.000s
#
Code: Select all
#missing temporary-storage directory
if [ ! -d "$OUTDIR" ]; then
GUI_LOW_TEMP="<text use-markup=\"true\"><label>\"$LOC344\"</label></text>$GUI_TEMPORARY_STORAGE"
STARTUP_CHECK=true
fi
#let's check if free space is bigger than 10GB free space.
. $APPDIR/func -available_size
if [ $FREE_SIZE -lt 10000 ]; then
GUI_LOW_TEMP="<text use-markup=\"true\"><label>\"$LOC333\"</label></text>$GUI_TEMPORARY_STORAGE"
STARTUP_CHECK=true
fi
Code: Select all
#let's check if free space is bigger than 10GB free space.
. $APPDIR/func -available_size
if [ $FREE_SIZE -lt 10000 ]; then
GUI_LOW_TEMP="<text use-markup=\"true\"><label>\"$LOC333\"</label></text>$GUI_TEMPORARY_STORAGE"
STARTUP_CHECK=true
fi
#missing temporary-storage directory
if [ ! -d "$OUTDIR" ]; then
GUI_LOW_TEMP="<text use-markup=\"true\"><label>\"$LOC344\"</label></text>$GUI_TEMPORARY_STORAGE"
STARTUP_CHECK=true
fi
zigbert wrote:jamesbond suggests a new and faster way of 'Fast' blanking rewritable DVD/BD. The problem is that both of us only had DVD+RW discs to play with. If you have any DVD-RW or BD-RE and wants to help out, please read on....
The existing code in Pburn to blank/erase a DVD/BD disc (the fast and dirty way) is byJames reports endless of waiting for him and shares the alternative codeCode: Select all
dvd+rw-format -force /dev/sr0
This only erase the first Mb of the disc....Code: Select all
dd if=/dev/zero of=/dev/sr0 bs=32k count=32
Personally I haven't had much trouble with the first command, but my test shows that the new command is much faster.Please test the new command with DVD-RW / BD-RE and report back. Time is interesting, but if blanking actually was successfully is even more important. For DVD+RW things seems to be just fine.Code: Select all
# time dvd+rw-format -force /dev/sr0 * BD/DVD±RW/-RAM format utility by <appro@fy.chalmers.se>, version 7.1. * 4.7GB DVD+RW media detected. * formatting 92.3| real 0m18.088s user 0m0.000s sys 0m0.003s # # # time dd if=/dev/zero of=/dev/sr0 bs=32k count=32 32+0 records in 32+0 records out 1048576 bytes (1.0 MB) copied, 3.75384 s, 279 kB/s real 0m3.784s user 0m0.007s sys 0m0.000s #
Thank you all
Sigmund
Code: Select all
$ pburn
/usr/share/pburn/pburn: line 88: /usr/share/pburn/locales: No such file or directory