How to Remove 'corrupt' files from pupsave file

Booting, installing, newbie
Post Reply
Message
Author
User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

How to Remove 'corrupt' files from pupsave file

#1 Post by darkcity »

I've been having problems using pburn.

Upon running from terminal I found there are some corrupt temp files

Code: Select all

# 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?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Hi dc, depending on where your pupsave is, you could mount it on a directory you create for just this purpose with a:

Code: Select all

mount -o loop <full-path-to>/lupusave.Xfs ~/mount/
I'm guessing tmp, with those corrupt files will exist..

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#3 Post by Sylvander »

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?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Guess that's why we should all have <wink> functioning backups, huh? Frugal of course! ext2 or 3 dc?

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#5 Post by darkcity »

Thanks for the help. The problem seems to have gone. I use ext2 as i'm on a slow machine.

:twisted:

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

ext2 on a hd or usb?

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#7 Post by nooby »

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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#8 Post by darkcity »

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.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#9 Post by Sylvander »

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.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#10 Post by darkcity »

Would it say that it fixed something, or just do 'quietly'?

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#11 Post by Sylvander »

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.

Post Reply