Author |
Message |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Sat 22 Oct 2011, 08:00 Post subject:
How to Remove 'corrupt' files from pupsave file |
|
I've been having problems using pburn.
Upon running from terminal I found there are some corrupt temp files
Code: | # pburn
/usr/local/pburn/func_gui_options: line 3: /root/.pburn/tmp/burner: Input/output error
rm: cannot remove `/root/.pburn/tmp/BURN': Input/output error
rm: cannot remove `/root/.pburn/tmp/burner': Input/output error
rm: cannot remove `/root/.pburn/tmp/exec': Input/output error
rm: cannot remove `/root/.pburn/tmp/exec2': Input/output error
rm: cannot remove `/root/.pburn/tmp/exec2_preburn': Input/output error
rm: cannot remove `/root/.pburn/tmp/exec_preburn': Input/output error
rm: cannot remove `/root/.pburn/tmp/log': Input/output error
EXIT="Ready" |
ROXfiler will not delete them. They are within a pupsave file. (Puppy528) any ideas?
_________________ helping Wiki for help
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7824 Location: World_Hub
|
Posted: Sat 22 Oct 2011, 08:18 Post subject:
|
|
Hi dc, depending on where your pupsave is, you could mount it on a directory you create for just this purpose with a:
Code: | mount -o loop <full-path-to>/lupusave.Xfs ~/mount/ |
I'm guessing tmp, with those corrupt files will exist..
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 4327 Location: West Lothian, Scotland, UK
|
Posted: Sat 22 Oct 2011, 08:23 Post subject:
|
|
What if it's the [Linux] FILESYSTEM [within the pupsave file] that's corrupted [or even the filesystem of the partition hosting the pupsave] rather than the files themselves?
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7824 Location: World_Hub
|
Posted: Sat 22 Oct 2011, 08:27 Post subject:
|
|
Guess that's why we should all have <wink> functioning backups, huh? Frugal of course! ext2 or 3 dc?
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Tue 25 Oct 2011, 05:14 Post subject:
|
|
Thanks for the help. The problem seems to have gone. I use ext2 as i'm on a slow machine.
_________________ helping Wiki for help
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7824 Location: World_Hub
|
Posted: Tue 25 Oct 2011, 05:45 Post subject:
|
|
ext2 on a hd or usb?
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Tue 25 Oct 2011, 06:08 Post subject:
|
|
Don't get me wrong. I trusted you where telling us how one do it.
I am an old grumpy guys so please edit and set a ? there so I
know you ask a question and not make a statement
One way to remove them in a round about way is to
note down exactly what you installed that you want to keep.
You can go to Menu setup Puppy Package Manager and see
what pets you have installed.
Then you rescue the bookmarks by exporting them outside your
pupsave file. Then you export all emails
Then pictures and videoclips you may have saved.
Then you simply start all over and when you have a save file
you feel good about then you boot with pfix=ram and then make a
copy of that save file outside of the directory it boots from and preferable rename it to have backup in the name.
Then each time you by accident corrupt it again then just make use
of that back up again.
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Tue 25 Oct 2011, 10:53 Post subject:
|
|
I have four pupsaves for 5.28 on hd ext2. i keep documents out of the pupsaves.
The files are delete-able now, so maybe fs fixed itself.
Thanks for your help. Backup is important.
What I would like if when you have more than one pupsave, you could set a default to load after wait x secs for you to choose.
_________________ helping Wiki for help
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 4327 Location: West Lothian, Scotland, UK
|
Posted: Tue 25 Oct 2011, 11:57 Post subject:
|
|
If you improperly power-off 528...
At next boot...
It [Lupu-528] will auto-scan and fix the filesystems of both the host partition AND the pupsave file...
So that if there had been a problem...
It would be fixed [with no lost files or fragments of files] if using ext3...
And fixed [with possible lost files or fragments] if using ext2.
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Tue 25 Oct 2011, 12:01 Post subject:
|
|
Would it say that it fixed something, or just do 'quietly'?
_________________ helping Wiki for help
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 4327 Location: West Lothian, Scotland, UK
|
Posted: Tue 25 Oct 2011, 16:12 Post subject:
|
|
1. If I remember right...
There's a line of text telling you that it's scanning the file system holding the pupsave...
Then it says Done, and moves on to the next line/task.
Then it tells you it's scanning the file system inside the pupsave...
Then it again says Done, and moves on to the next line/task.
2. Which means it doesn't tell you if any problem was found and fixed.
Hence, it does any fix "quietly".
But you should know that there are now no problems with the file systems.
|
Back to top
|
|
 |
|