System :: Hacking DSL



This is a continuation of http://damnsmalllinux.org/cgi-bin....t=19919
I think this would be a much better place for this.
I had actualy opened the  hacking DSL Wiki page a number of times, but got busy and never actualy read it  'till Sunday.  This was truly the info I needed.  I am posting from a rudimentery hack of ff2, gnu utils, amsn, and a couple of other thing and their dependencies.  I have begun automatiing the hack process, but not the least bit user friendly and specific to the box I am hacking on right now.  There were some errors/invalid characters on the wiki page.  I am posting w/ cheat codes of:
base norestore
and it seems to be a live cd duplicate of my frugal install w/out the mydsl directory or backup present. And all of my custom configurations.
I am just half in heaven right now.  This is going almost right back to my roots on puters, the Apple II series, 2 diget hex characters that  were the commands to the processor.
Is there any interest in expanding mkmydsl into an automated hack instead/in addition to?
One other thought crosses my mind regardiing toram.  KNOPPIX contaiins drivers to everything supported.  After hardware detection and the required drivers become active but before mydsl's are installed or backup, purdge the unused drivers.  I think this would free up memory that could be uses for something else and be well worth a longer startup tiime (but how long would it really take to remove files from physical memory?)
web browsing in toram is gastly fast compared to the competition.
Thanks so much everyone,
Your all the greatest

Just brainstorming:
"mkisofs" can be used to dump a custom "KNOPPIX" file to RAM?
Maybe with the "-m" or "-exclude-list" options?
"man mkisofs":
Quote
-m
glob
Exclude files matching glob, a shell wildcard pattern, from being written to CD-ROM. glob may match either the filename component or the full path-name. This option may be used multiple times.
For example:
genisoimage -o rom -m '*.o' -m core -m foobar
would exclude all files ending in `.o', or called core or foobar from  the image. Note that if you had a directory called foobar, it too (and of course all its descendants) would be excluded.

-exclude-list file
A file containing a list of shell wildcards to be excluded. See -m.

Perhaps it could be used with existing boot options.
e.g.
"nofw", "nopcmcia", "noscsi", "nousb".
Problem: User won't be able to manually load the modules afterwards (since they will not be present).

Perhaps there should be a boot option added to disable this behaviour if the user doesn't want it.
"newtoram"? "oldtoram"?

I was thinking that anything to do with Hotplug would need to stay, but I would not expect isa or pci cards to be inserted without powering down first.
Quote
Is there any interest in expanding mkmydsl into an automated hack instead/in addition to?
If I'm interpreting this correctly, you want a dsl base image remastering script?  I think there are some user made ones floating around.  iirc those and the mkmydsl script has always been separated, since I suppose it is considered more advanced, take up more resources, and that mkmydsl was meant to do what it does specifically.

Quote
One other thought crosses my mind regardiing toram.  KNOPPIX contaiins drivers to everything supported.  After hardware detection and the required drivers become active but before mydsl's are installed or backup, purdge the unused drivers.  I think this would free up memory that could be uses for something else and be well worth a longer startup tiime (but how long would it really take to remove files from physical memory?)
s_i has a good idea, but I think this would take up too much time (and doesn't toram copy the image before it loads the drivers, etc?).  So unless you really need save a few MB's in memory, a better way may be to cut the modules out from KNOPPIX, and just leave the ones you need (or even use the DSL modules loading feature).

On a side note, I'm finding the blue text a bit harder to read than the regular black text :P

If you already boot toram, a saving of 2-3MB is not really worth mentioning to me..
Next Page...
original here.