01.05.2025, 20:22 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
jackiebrown
Titel:   BeitragVerfasst am: 15.08.2006, 05:00 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
Richard hat folgendes geschrieben::
The problem is not learning obscure commands, but rather the syntax.
It is inaccurate. LIke naming the command for save to be "delete".


Just thought that was funny. I would use apt to remove kernel instead of a script.

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
wegface
Titel:   BeitragVerfasst am: 15.08.2006, 08:35 Uhr



Anmeldung: 02. Nov 2005
Beiträge: 127

These two scripts are named in a confusing manner imo. No big deal if your used to it, ive never made an error personally but surely script names should be indicitive of what action they perform? Of course long time users would have to change there habits, but all other users would benefit from this i'm sure. One letter difference to delete all kernels in the system is a bit harsh.
I vote for remove-old-kernels-completely and remove-all-kernels-completely as someone else suggested.

_________________
Linux user 403389 and Herbaholic Trichopath
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jackiebrown
Titel:   BeitragVerfasst am: 15.08.2006, 19:33 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
and
destroy-system-completly

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Swynndla
Titel:   BeitragVerfasst am: 15.08.2006, 23:22 Uhr



Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
h2 hat folgendes geschrieben::
Actually, to make it clear, the names could be:

1. remove-current-kernel-completely
2. remove-all-non-current-kernels-completely

because it's actually the non current, not the old, kernels, that are removed, at least if I understand that right.


Ahhh yes, I didn't know that the current kernel was kept, regardless of whether it's old or not. So I agree with h2's suggestion Smilie

_________________
Linux is evolution, not intelligent design - Linus Torvalds
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 15.08.2006, 23:56 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

No matter what other outcome this thread may have, I now finally actually understand what both scripts really do, which I didn't really before.

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
michael7
Titel:   BeitragVerfasst am: 16.08.2006, 00:16 Uhr



Anmeldung: 24. Mai 2005
Beiträge: 354
Wohnort: Nashville
With all due respect to everyone, if Kano wants to name it "stand-on-your-head-completely.sh" that's fine with me.

I have a file titled "Kanotix Tweaks" where I have copied and pasted information from this forum and the IRC for a year and a half. To anyone and everyone who is interested in Kanotix, I would suggest doing something like that. If I don't remember exactly what a shell script or a command (or whatever) is called, I can find it in a matter of seconds.

A favorite saying of my dear, departed Uncle Faulby was "A dull pencil beats a sharp mind." The 21st century version might be, "A cluttered and disorganized computer file beats a sharp mind."

michael

P.S. He also would say, "The spouting whale catches the harpoon" and "Trust in Allah, but tie your camel." (Where he got that second one, I'll never know.) My favorite, however, was his commentary on parashute jumping. "Son, only fools and birdshit fall from the sky."

_________________
Debian Social Contract
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Richard
Titel:   BeitragVerfasst am: 16.08.2006, 03:11 Uhr



Anmeldung: 07. Nov 2005
Beiträge: 112
Wohnort: Venezuela
I could dig "stand-on-your-head-completely.sh".

At least it wouldn't be ambiguous. Put the name in German, if it makes you feel bettter, but be precise. Say what you mean and mean what you say.

This is a useless thread. Either fix it or forget it.

_________________
kanotix-2006-01, 2.6.18.5-slh-up-1, IceWM, Krusader; P4, 2.8GHz, 512MB
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kenyee
Titel:   BeitragVerfasst am: 17.08.2006, 13:51 Uhr



Anmeldung: 21. Jan 2006
Beiträge: 185

drb hat folgendes geschrieben::
What modification to the script to remove the headers?


Sorry...I keep forgetting to look this answer up for you.
I added:
rm -rf /usr/src/linux-headers-$KERNEL

to remove-all-kernels-completely.
If you go look in your /usr/src directory, you'll see a lot of old header directories if you've been upgrading your kernels...

p.s., I suggested the script name change for the newbies that may want to use the scripts. It was just a constructive suggestion to keep other folks from getting confused...
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 17.08.2006, 13:55 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

Thanks kenyee - next time I upgrade, will this remove all header directories? If not, can I just delete them manually?

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 17.08.2006, 14:01 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

I use the remove-all-kernels-completely script but I still have all the kernelupdate-kernel-2.6etc.etc folders in /usr/src. These are taking up most of my space on my hard drive. Can I just delete them?

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slam
Titel:   BeitragVerfasst am: 17.08.2006, 14:32 Uhr



Anmeldung: 05. Okt 2004
Beiträge: 2069
Wohnort: w3
Zitat:
Thanks kenyee - next time I upgrade, will this remove all header directories? If not, can I just delete them manually?

Of course you can remove them, if you don't use the similar named kernel any more.
You may also remove all the downloaded kernel-*.zip files, together with the folders where you unpacked them.
Zitat:
I suggested the script name change for the newbies that may want to use the scripts. It was just a constructive suggestion to keep other folks from getting confused...

This script is not for newbies at all - there is no reason for them to remove kernels without knowing what they do. I believe that Kano choose this name intentionally, to make it sound frightening - that is probably the best tactic against people who are not willing to understand, before they act.

Some of Kano's scripts are made idiot-safe, those are the ones we promote. This one is not.

Greetings,
Chris

_________________
"An operating system must operate."
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen AIM-Name Yahoo Messenger MSN Messenger ICQ-Nummer 
Antworten mit Zitat Nach oben
kenyee
Titel:   BeitragVerfasst am: 17.08.2006, 14:54 Uhr



Anmeldung: 21. Jan 2006
Beiträge: 185

slam hat folgendes geschrieben::
This script is not for newbies at all - there is no reason for them to remove kernels without knowing what they do


But if they do install kernels, then at some point, they will have to run some sort of cleanup or their /boot or /usr partition will fill up w/ extra kernel source or headers (that's why I needed to use it). It's not a harmful script when used properly, and naming a script for what it does is one way to get them to use it properly IMHO Smilie
At any rate, I'm glad the script exists so I don't have to clean up all that kruft myself...
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.