View previous topic :: View next topic |
Author |
Message |
Blubbmon Apprentice
Joined: 13 Feb 2004 Posts: 156 Location: Germany, Potsdam
|
|
Back to top |
|
|
Nazadus n00b
Joined: 20 Aug 2004 Posts: 20 Location: Groves, Texas, USA, Earth, Sol, Milky Way
|
Posted: Sun Feb 13, 2005 6:05 pm Post subject: |
|
|
I don't if you still care to have input from the crowd, but...
http://etherpunk.com/files/cruft_output.txt.bz2 (24k) is mine.
I currently run apache, postfix, and all the fun stuff and used the virtual domain howto (so I have tons of stuff) and I tend to do a worldly update about every 6 months.
This file is the result of the command:
./cruft > cruft_output.txt 2> cruft_output.txt
So all errors (and yes, I did see some weirdness) should be placed in here.
If you're intersted, here is my world file too:
http://etherpunk.com/files/world.bz2
I also ran regenworld a mere 15 minutes ago, so that's as recent as I can get.
I noticed that the cruft script wanted to nuke some of my conf files such as awstats.
Also, becuase I did the virtual howto (I think) it wanted to nuke my /etc/postfix/mysql-*.cf files -- which are *very* important for the virtual hosting.
I hope this helps.
If their is anything I can do to help, PM me.
Kenny |
|
Back to top |
|
|
Nazadus n00b
Joined: 20 Aug 2004 Posts: 20 Location: Groves, Texas, USA, Earth, Sol, Milky Way
|
Posted: Sun Feb 13, 2005 6:06 pm Post subject: |
|
|
doh! I wished I would have notcied that this had multiple pages...
ok... I'm never posting before a fiene hit again... |
|
Back to top |
|
|
mope Apprentice
Joined: 23 Feb 2003 Posts: 206
|
Posted: Wed Apr 06, 2005 10:17 pm Post subject: |
|
|
ok, I'm a bit confused.
I went to etcatmur's site and looked at his scripts.
dep, cruft, cruft2 all seem to be recent.
what's the "official" word on whether they've been abandoned?
I started using findcruft, but an older version of cruft still works (0.0.12), whereas I read that this newest one doesn't (so I haven't tried it). EDIT: I tried .13 (most recent) and it works too on my box.
so are dep and cruft still to be used?
or replaced by unclepine and findcruft?
thanks everyone for the great script work. |
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Mon Jun 13, 2005 4:55 pm Post subject: |
|
|
cruft tries to delete /etc/raidtab, I think it should be added to the ignore list. _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Sat Oct 15, 2005 3:17 pm Post subject: |
|
|
With the latest http://home.jesus.ox.ac.uk/~ecatmur/my-bin/cruft I get:
Quote: |
cruft: line 297: `motif-profile': not a valid identifier
|
Fixed with the following patch:
Code: |
293c293
< function motif-profile() {
---
> function motifprofile() {
502c502
< $(has_version '=x11-libs/openmotif-2.2*' && motif-profile openmotif-2.2)
---
> $(has_version '=x11-libs/openmotif-2.2*' && motifprofile openmotif-2.2)
|
GNU bash, version 3.00.16(1)-release (i686-pc-linux-gnu) |
|
Back to top |
|
|
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Thu Nov 24, 2005 6:34 pm Post subject: |
|
|
this link is quite old, and currently dead.
Has anyone got a new version (as the one in the start-post is outdated) ? _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Thu Nov 24, 2005 6:53 pm Post subject: |
|
|
boudewijn wrote: | this link is quite old, and currently dead.
Has anyone got a new version (as the one in the start-post is outdated) ? |
I think the script is dead aswell... |
|
Back to top |
|
|
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Thu Nov 24, 2005 7:20 pm Post subject: |
|
|
allright.
too bad, seemed to have a really nice purpose.
Do you know another way of preventing 'dead' files and stuff? _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
CRV§ADER//KY Guru
Joined: 30 Aug 2004 Posts: 405 Location: Torino
|
Posted: Thu Nov 24, 2005 8:26 pm Post subject: |
|
|
actually, the script still does work quite well. It just will generate a few false positives, that's all (but the rule about not to ever delete a file that you don't know about is always valid, so it isn't really a big issue) _________________ Kyrie, Ignis Divine, Eleison ~ Elfen Lied |
|
Back to top |
|
|
killerwhile Tux's lil' helper
Joined: 16 May 2005 Posts: 130 Location: Switzerland
|
Posted: Sun Apr 02, 2006 5:09 pm Post subject: |
|
|
Nice script, thank you.
You may just add a test to check if /root/.cruft is present, otherwise it die in a not really clean way. |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sat May 06, 2006 11:10 pm Post subject: |
|
|
Can anyone make an ebuild of this for the portage overlay? |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Sat Aug 12, 2006 9:42 am Post subject: |
|
|
The requested URL /~ed/main/my-bin/cruft was not found on this server.
Where can I get that script?
/edit: Ok I could download 1.0.4 version, is this the latest? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Sat Aug 12, 2006 5:10 pm Post subject: |
|
|
I think by 1.0.4 you mean findcruft-1.0.4. cruft and findcruft are scripts by two different authors. ecatmur moved his original cruft script to svn. Link |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Sat Aug 12, 2006 5:16 pm Post subject: |
|
|
micmac wrote: | I think by 1.0.4 you mean findcruft-1.0.4. cruft and findcruft are scripts by two different authors. ecatmur moved his original cruft script to svn. Link |
Np findcruft works like a charm... But whats the shell command to delete files listed in a file? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Sun Aug 13, 2006 2:24 am Post subject: |
|
|
Just "bend" it over xargs
Code: |
cat <file with cruft> | xargs rm -rf
|
Beware, it won't ask for acknowledgement |
|
Back to top |
|
|
manouchk Apprentice
Joined: 08 May 2006 Posts: 288 Location: Vitória (ES), Brasil
|
Posted: Sun Oct 15, 2006 12:35 pm Post subject: |
|
|
I runned cruft for the fisrt time and :
Code: |
./cruft
Developing list of potential false positives...
Collecting files managed by Portage...
./cruft: line 1170: /root/.cruft/portagefiles: No such file or directory
Collecting other files...
sed: can't read /etc/texmf/web2c/fmtutil.cnf: No such file or directory
Finding files on your filesystem...
./cruft: line 1182: /root/.cruft/allfiles: No such file or directory
Comparing file lists...
comm: /root/.cruft/allfiles: No such file or directory
tee: /root/.cruft/cruftfiles: No such file or directory
|
I made a mistake?? |
|
Back to top |
|
|
manouchk Apprentice
Joined: 08 May 2006 Posts: 288 Location: Vitória (ES), Brasil
|
Posted: Sun Oct 15, 2006 11:57 pm Post subject: |
|
|
answer => mkdir ~/.cruft |
|
Back to top |
|
|
|