| Author |
Message |
the last saviour

Joined: 13 Jul 2010 Posts: 71 Location: Thailand
|
Posted: Sun 24 Jun 2012, 06:35 Post subject:
Good Riddance Subject description: How to get rid of those stubborn files. |
|
Good Riddance
I believe many Linux users had already experienced some stubborn files happened after the incompleted process of files copy or delete. Besides it makes other files and folders becomed undeletable too. This is quite a unique feature of Linux (unwanted), isn't it?
Last month I had experienced it again, caused by my US$1 USB cable or multicard reader, . But a few days ago I found a easy trick to delete those stubborn files.
I had used GParted to resize my micro SD card partition. Then after new partition was created, I found there's a lot of strange files created, but they were easily deleted, which mean those original files and folders become editable again.
So GParted had created a new directory tree and turn those corrupted file allocation into the junk files.
PRO: This resize-partition process is only 1 minute (P4 2.66, ram bus 333). So it's much convenienced than copying data to another storage, format the drive and move those data back again, especially when there are many thousands of files or other storage is not big enough.
CON: My micro SD card became unboostable, (..................Kill Knit..................)
Many thanks to Jemimah whose Saluki Custom Builder had put me into the condition to get the EXT3 partition.
_________________ Third Judgement, Gods will not punish us with Earth quake, unless we accept viral infection.
Alien's headquarter is in Phobos.
Thousand aliens live inside! 
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Sun 24 Jun 2012, 07:49 Post subject:
|
|
Re your con:
You should be able to set the boot flag in gparted to restore 'boostability'
Aitch
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2678 Location: Kiel,Germany
|
Posted: Sun 24 Jun 2012, 12:43 Post subject:
files undeleteable |
|
[quote]I believe many Linux users had already experienced some stubborn files happened after the incompleted process of files copy or delete. Besides it makes other files and folders becomed undeletable too. This is quite a unique feature of Linux (unwanted), isn't it?[/quote]
No i don't know exactly what you mean .
[quote]I had used GParted to resize my micro SD card partition. Then after new partition was created[/quote]
Resizing does not create a new partition with a new partition number .
Gparted does a lot of fsck ing on the partition , so assuming you mean "Stale files" gparted might have fscked them right . '-y' option to fsck can also end up in a lot of files in 'lost+found' instead of a nice repair .
[quote]I believe many Linux users had already experienced some stubborn files happened after the incompleted process of files copy or delete. Besides it makes other files and folders becomed undeletable too. This is quite a unique feature of Linux (unwanted), isn't it?[/quote]
Probably now i understand what you mean .
pfix=fsck is one of the common Puppy bootparameters, that would show up in F2/F3 help.msg .
Seems that 10% of Puppians run Puppy for several years without having knowledge of fsck .
:roll: If i had their money and their modern hardware i probably would not know it also :P
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Sun 24 Jun 2012, 18:36 Post subject:
Re: Good Riddance Subject description: How to get rid of those stubborn files. |
|
| the last saviour wrote: | ...
I believe many Linux users had already experienced some stubborn files happened after the incompleted process of files copy or delete. Besides it makes other files and folders becomed undeletable too. This is quite a unique feature of Linux (unwanted), isn't it?
... |
I use the "Puppy Linux" OS from the CD/DVD. If something strange is growing then i execute rebooting at some size of not free space in RAM. I want to find those strange files, which fill free space in the RAM. For copying i use curl.
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
|
|
Back to top
|
|
 |
the last saviour

Joined: 13 Jul 2010 Posts: 71 Location: Thailand
|
Posted: Sun 01 Jul 2012, 07:33 Post subject:
|
|
Many thanks to all comments.
_________________ Third Judgement, Gods will not punish us with Earth quake, unless we accept viral infection.
Alien's headquarter is in Phobos.
Thousand aliens live inside! 
|
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 108 Location: Memphis, TN, USA
|
Posted: Sun 29 Jul 2012, 18:39 Post subject:
|
|
The Last
Good point.
Make a new partition, somewhere.
Copy your 'good' files over.
Use GpartEd to 'delete' the partition with 'bad' files.
Use GpartEd to 'create' a new partition.
Copy your 'good' files back.
Never thought of it, myself !
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
|
|
Back to top
|
|
 |
the last saviour

Joined: 13 Jul 2010 Posts: 71 Location: Thailand
|
Posted: Sat 08 Sep 2012, 07:49 Post subject:
|
|
I would like to encourage you using the GPart method which is faster and convenience.
Maybe next time you will try.
_________________ Third Judgement, Gods will not punish us with Earth quake, unless we accept viral infection.
Alien's headquarter is in Phobos.
Thousand aliens live inside! 
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2678 Location: Kiel,Germany
|
Posted: Sat 08 Sep 2012, 08:15 Post subject:
|
|
| the last saviour wrote: | I would like to encourage you using the GPart method which is faster and convenience.
Maybe next time you will try. |
Do you refer to gparted, parted or gpart ?
http://bkhome.org/blog/?viewDetailed=02964
| Quote: | I also added this DEB package to Precise Puppy:
gpart
http://murga-linux.com/puppy/viewtopic.php?t=80251 |
|
|
Back to top
|
|
 |
the last saviour

Joined: 13 Jul 2010 Posts: 71 Location: Thailand
|
Posted: Sat 22 Sep 2012, 05:44 Post subject:
|
|
If you can make a new partition from those pets, you can try it.
If they don't work, you should use the first one I mentioned.
_________________ Third Judgement, Gods will not punish us with Earth quake, unless we accept viral infection.
Alien's headquarter is in Phobos.
Thousand aliens live inside! 
|
|
Back to top
|
|
 |
|