Unix Technical Forum

Any Apps To Help Slim SlackWare Down?

This is a discussion on Any Apps To Help Slim SlackWare Down? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I have a little project going where I have slimmed down Slackware to just below 20MB (on disk) to ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:26 PM
Pete
 
Posts: n/a
Default Any Apps To Help Slim SlackWare Down?





I have a little project going where I have slimmed down Slackware to
just below 20MB (on disk) to go onto a very specific laptop. A lot of
this has been done by linking to a full busybox and removing obviously
un-needed drivers.

Being quite new to Linux I have gotten it as far down as I can without
reading up on every single driver that comes with slackware.

I now need a way of identifying every component that is loaded,
linked or required so that I can start removing any drivers or modules
that are never used.

Are there any standalone consol apps that will create a text file
listing everything loaded or running?

Basically I'm trying to retrofit a very small slackware to copy onto a
fat drive in as few floppies as possible that has disk access (inc
USB) and network services. I know there are already some slim linuxes
but they often won't work well on this laptop without recompiling
etc... AND I'm having a lot of fun learning this way round...

Any ideas for an app that will detect loaded modules, drivers, etc
would be appreciated.

Pete
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:26 PM
Pete
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

On Thu, 21 Dec 2006 22:05:43 GMT, Pete <nospam@nospam.f--> wrote:


Sorry - Should have said ZipSlack not SlackWare...



>I have a little project going where I have slimmed down Slackware to
>just below 20MB (on disk) to go onto a very specific laptop. A lot of
>this has been done by linking to a full busybox and removing obviously
>un-needed drivers.
>
>Being quite new to Linux I have gotten it as far down as I can without
>reading up on every single driver that comes with slackware.
>
>I now need a way of identifying every component that is loaded,
>linked or required so that I can start removing any drivers or modules
>that are never used.
>
>Are there any standalone consol apps that will create a text file
>listing everything loaded or running?
>
>Basically I'm trying to retrofit a very small slackware to copy onto a
>fat drive in as few floppies as possible that has disk access (inc
>USB) and network services. I know there are already some slim linuxes
>but they often won't work well on this laptop without recompiling
>etc... AND I'm having a lot of fun learning this way round...
>
>Any ideas for an app that will detect loaded modules, drivers, etc
>would be appreciated.
>
>Pete

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:26 PM
=?ISO-8859-15?Q?J=E9r=F4me?= PRIOR
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

> Any ideas for an app that will detect loaded modules, drivers, etc
> would be appreciated.


lsmod

be carrefull, make a light kernel without knowlegment is sinonym of
"kernel panic" (no boot).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:26 PM
Steve Youngs
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

* nospam <Pete> writes:

> Any ideas for an app that will detect loaded modules, drivers, etc
> would be appreciated.


lsmod(8) will give you a list of the currently loaded modules, lsof(8)
will give you a list of all the currently "in use" files.

--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Genius - Is the ability to reduce |
| the complicated to the simple |
|----------------------------------<steve@youngs.au.com>---|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: The SXEmacs Project <http://www.sxemacs.org>
Comment: Eicq - The SXEmacs ICQ Client <http://www.eicq.org/>

iEYEARECAAYFAkWLD+0ACgkQHSfbS6lLMAM8UACgr0ixpkINsD pAtpu/OoPIIjr3
0iIAoKR9zLhmfr7pJk7GcUj8nh3Lcuk7
=KJaG
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:26 PM
Henrik Carlqvist
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

Steve Youngs <steve@youngs.au.com> wrote:
> * nospam <Pete> writes:
> > Any ideas for an app that will detect loaded modules, drivers, etc
> > would be appreciated.

>
> lsmod(8) will give you a list of the currently loaded modules, lsof(8)
> will give you a list of all the currently "in use" files.


Maybe something like "find / -atime +10" would also be useful. That
command would show all files that hasn't been used in the last 10 days.
However, it assumes that the files are on a file system which has support
for the access time stamp on files. FAT is not capable of logging access
time. Also, sometimes even with a file system capable of logging access
time the mount option noatime is used and that makes those time stamps
unusable.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc8(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:26 PM
Olivier COLIN
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

Jérôme PRIOR <XXX@laposte.net> wrote:
: be carrefull, make a light kernel without knowlegment is sinonym of
: "kernel panic" (no boot).
:
carrefull -> careful
sinonym -> synonym


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:27 PM
=?ISO-8859-15?Q?J=E9r=F4me?= PRIOR
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

> Jérôme PRIOR <XXX@laposte.net> wrote:
> : be carrefull, make a light kernel without knowlegment is sinonym of
> : "kernel panic" (no boot).
> :
> carrefull -> careful
> sinonym -> synonym
>
>


oldstar -> old$chool
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:27 PM
Pete
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

On Thu, 21 Dec 2006 23:31:27 +0100, Jérôme PRIOR <XXX@laposte.net>
wrote:

>> Any ideas for an app that will detect loaded modules, drivers, etc
>> would be appreciated.

>
>lsmod
>
>be carrefull, make a light kernel without knowlegment is sinonym of
>"kernel panic" (no boot).


You know I have been so busy focusing on hacking bits out & rebooting
I tend to forget about the basic stuff already inbuilt.

I never really learnt to program so breaking stuff has often been the
quickest way I can get to where I want.

Making a light kernel will come latter. I made a heavy busybox with
every option I could so I could be sure that I had everything to
hand.. That'll need reducing later also.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 08:27 PM
Pete
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

On Sat, 23 Dec 2006 17:18:24 +0100, Jérôme PRIOR <XXX@laposte.net>
wrote:

>> Jérôme PRIOR <XXX@laposte.net> wrote:
>> : be carrefull, make a light kernel without knowlegment is sinonym of
>> : "kernel panic" (no boot).
>> :
>> carrefull -> careful
>> sinonym -> synonym
>>
>>

>
>oldstar -> old$chool


LOL. I smell bad too ;o)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 08:27 PM
Olivier COLIN
 
Posts: n/a
Default Re: Any Apps To Help Slim SlackWare Down?

Jérôme PRIOR <XXX@laposte.net> wrote:
: oldstar -> old$chool
:
Old computer precisely

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com