Tiny bugs and Orphaned filesForum: User Feedback Topic: Tiny bugs and Orphaned files started by: SaidinUnleashed Posted by SaidinUnleashed on Feb. 14 2005,04:26
This is to be a list of all tiny bugs (we are quickly running out of major bugs \o/) and orphaned files.Found a config file for an app that was in Knoppix, isnt in DSL and somehow got left behind? Post the full path to the file here, like this. /usr/bin/foo Found a tiny bug, like a symlink that points to nothing, or to the wrong file? Same deal. Post the full path. First up, my tiny bug of the hour. The symlink at /usr/bin/editor does not exist. This should point to a default editor. Requesting that a symlink me made at /usr/bin/editor pointing to /bin/nano-tiny Also, the symlink at /usr/bin/install-menu points to a file that does not exist. Lets toss it and save 20 bytes. -J.P Posted by nucpc on Feb. 14 2005,19:25
Apologies for the repetition as I've mentioned this beforebut as you've asked for them here.... a variety of links in /var/lib; texmf, gnome kde don't (link to anything that exists). Set by the minirt. At this rate we'll pretty soon we'll knock 100 bytes off.... Posted by mikshaw on Feb. 17 2005,05:31
This is my list taken from various paper scratches. I don't remember what some of them are, but they are all at least things which made me wonder why they are included in DSL.In /opt/bashburn-test there is something like 50k of unneeded files, including an installer. There is also a duplicate bashburnrc in /opt /usr/local/share/siag/common contains multiple themes and multiligual dictionaries...is this needed? kde2 is 62k some stuff i THINK may be useless: /usr/local/bin/firefox/icons /var/log/xdm.log /usr/lib/base-config/97start-xdm /etc/esound /etc/sane.d /usr/share/base-files /usr/share/control-center /etc/gpm-root /usr/share/gnome /usr/share/info /usr/share/scite /etc/X11/default-display-manager There are several README files throughout the system. There's also the "mc as root" menu item thingy which was fixed a while ago but returned when the mc colors script was created. Menu item should be 'sudo su -c mc' rather than 'sudo mc', so a user can still use mc in the event that it is first run as root. Posted by ke4nt1 on Feb. 17 2005,07:50
Here are the files I found in /KNOPPIX that I usually pull out of extensions./KNOPPIX/etc/alternatives/README (.1k) /KNOPPIX/etc/rcS.d/README (.7k) /KNOPPIX/opt/bashburn-test/README (2.1k) /KNOPPIX/opt/monkey-0.8.2/README (1.1k) /KNOPPIX/usr/local/bin/firefox/init.d/README (0) /KNOPPIX/usr/local/bin/firefox/README.txt (32) /KNOPPIX/usr/share/a2ps/ppd/README (.3k) /KNOPPIX/usr/share/a2ps/README (1k) /KNOPPIX/usr/share/apsfilter/driver/README (1.6k) /KNOPPIX/usr/share/apsfilter/setup/README (.4k) /KNOPPIX/usr/share/apsfilter/template/README ( 1.2k) /KNOPPIX/home/dsl/ndiswrapper.readme (3.4k) I don't know if these are essential or not. I usually remove lintian stuff /KNOPPIX/usr/share/lintian /KNOPPIX/usr/share/lintian/overrides /KNOPPIX/usr/share/lintian/overrides/base-config (.7k) /KNOPPIX/usr/share/lintian/overrides/sudo (.2k) /KNOPPIX/usr/share/lintian/overrides/util-linux (.1k) Again. are these useful? /KNOPPIX/etc/X11/Xmodmap.xbase-clients-old (.8k) /KNOPPIX/etc/X11/xinit/xinitrc (.1k) -- X.Org? /KNOPPIX/var/cache/debconf/config.dat-old (1.5K) /KNOPPIX/var/cache/debconf/templates.dat-old (26.8k) /KNOPPIX/var/log/wtmp.1 ( 0 byte ) /KNOPPIX/var/lib/setserial/etc.serial.conf.bkp (.2k) ( seems like a dup of autoserial.conf ) /KNOPPIX/etc/thttpd/ ?? /KNOPPIX/var/www/index.html (4.1k) /KNOPPIX/var/www/search.html (1.2k) ( we use the ones in monkey, right? ) And again, all the junk in bashburn.. 73 ke4nt Posted by clivesay on Feb. 17 2005,16:39
Another thing I noticed is why have menu items for daemons and such that are found in the control panel? Maybe remove these redundant menu entries and save a few bytes. Chris Posted by SaidinUnleashed on Feb. 17 2005,16:58
ehh, on some machines, it's faster to use the link in the menu, rather than waiting on the control panel to come up.
Posted by roberts on Feb. 17 2005,17:04
Aw, you guys are going to make me clean up "cookie crumbs"? You sound like my Mom. Well... OK.
Posted by mikshaw on Feb. 17 2005,17:11
Well if you want to sleep on crummy sheets, that's your call. Just thought that with enough crumbs you might be able to make a whole new cookie.
Posted by roberts on Feb. 17 2005,19:04
Just went in to do this clean up. Found even more stuff too. Some interesting bitmaps in that siag stuff.Again a good thread. We sure have a great community! Thanks guys. Posted by clivesay on Feb. 17 2005,20:01
I know we'd all love to know how much space you free up after you have swept up all the crumbs. Chris Posted by SaidinUnleashed on Feb. 17 2005,22:27
Robert, you know we love ya. Besides, we need to make room, and squeeze even more life out of our lil' 50mb monster (GRUB!!!). ^_^ Posted by tronik on Feb. 18 2005,02:03
Well, here is my first post on this subject. Hope i'm not stepping on anyones toes by reposting things that might have already been posted...and this is just /etc, i'll give the rest of the base another look later ;p...I've been meaning to make this list for /etc for several weeks now but since someone finally started a thread and it got responses:Upon my perusal of our /etc...There are many things we can do to Free up these inodes & inode space, and here are lots of orphaned files. Perhaps when ran against a 0.9.3 tree we can get a diff of the space usage? :0 I don't feel like taking the time to do that. While this list is of course not all inclusive, and i am probably wrong about a few things...I just thought I 'd throw it out there. ;) Basically a lot of things in /etc can be cleaned up as far as whitespace/blank lines go... since blank lines take up space too. (i know, 1 character, but, hey, its still wasted space) [d] denotes directory [d]/etc/3270 -empty [d]/etc/CORBA -why CORBA? [d]/etc/alternatives -useful? [d]/etc/autoconf2.13 -empty [d]/etc/bind -default bind config? why? we dont have bind ;\ [d]/etc/calendar -empty /etc/calife.auth -cat calife.auth and tell me whats so great about it ;p [d]/etc/console -empty /etc/defaultdomain -if we change it will it break something? [d]/etc/drdsl -empty [d]/etc/esound -not empty, but do we use e? or esd? [d]/etc/exim -empty /etc/exports -empty /etc/fonts -we dont have fontconfig..so? /etc/gateways -we're not running routed. /etc/group -the group file can be sized down. /etc/gshadow -sized down with group (since when do we shadow groupfiles ;\ unless you're using group pass...and we aren't?) /etc/*.org -we can lose the .org files, they're just 'originals' /etc/gpm-root -sadly, we don't have gpm (if we'd add it that'd be great) /etc/group- -because we already have a group /etc/passwd- -because we already have a passwd /etc/shadow- -because we already have a shadow ^^^ -we don't need backup copies made until we go to change the password.. -we definitely dont need .org's and -'s..one or the other or neither. [d]/etc/gtk -empty /etc/hdparm.conf -lots of whitespace [d]/etc/htcheck -empty [d]/etc/htdig/* -unused [d]/etc/irc -unused /etc/issue* -get rid of one, and symlink the other to one. [d]/etc/libgda -empty /etc/lisarc -empty [d]/etc/logcheck -what do we use here? [d]/etc/logrotate -don't think we're using logrotate either. [d]/etc/lvm* -these are for logical volume manager...we dont use that! /etc/magic -we're not usign the magic file...tis taking space. /etc/mailname -do we need it? it says Knoppix [d]/etc/mc -midnight commander, but its empty...if it needs it (and we're root, it'll make it) [d]/etc/menu* -empty [d]/etc/mgp -empty [d]/etc/mindi -empty /etc/nessus -bad symlink [d]/etc/news -empty [d]/etc/nmh -empty /etc/nsswitch.conf -are we using this? [d]/etc/oaf -empty [d]/etc/perl/* -empty [d]/etc/ppa/* -lots of whitespace in those files [d]/etc/rc.boot -empty [d]/etc/sane.d -for scsi, sane d...do we use it? [d]/etc/resolvconf/* -empty dirs. [d]/etc/sound -yeah, do we need it? [d]/etc/ssl/* -empty dirs /etc/sysctl.conf -empty [d]/etc/thttpd -we're not running thttpd. [d]/etc/tmake -empty. [d]/etc/vfs/* -empty. [d]/etc/xtel -empty. Posted by SaidinUnleashed on Feb. 21 2005,14:51
The broadcom nic module is not probed at boot.I have to do modprobe b44 and netcardconfig. It's kinda annoying. -J.P. |