[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] Re: Analyzing Knoppix extra stuff (Was: knoppix/bootcd like software?)



On Mon, Mar 17, 2003 at 12:30:53PM -0500, sean finney wrote:
> well, that could be fixed by another call to eject -t after someone
> presses enter...

Interesting idea. How do you call eject -t after you removed the CD with
your system binaries? Ok, you explained it below.

> how about the following as a solution:
> 
> we already have the capability to have a shmfs or some other in-memory
> fs/ramdisk, so why not copy over the eject utility and it's needed libraries
> into this ramdisk, umount the cd, and then somewhere between S40umountfs
> and S90reboot we put a script that does this copying, ejecting, waiting
> for enter, and then reloading of cd tray.  

That requires a certain amount of additional ram, which may not be
available and could be avoided by putting the necessary system calls
into sysvinit as well.

> this way, init wouldn't need a hack for this at all.  would this work?
> are there any other reasons we need to have a patched init?  klaus?

Well, you can just do a source diff to see what I patched. The comments in the
source could be helpful, too.

Also, the sysvinit-knoppix package contains the startup/shutdown init
scripts that are specific for Knoppix, and the /etc/inittab.

Regards
-Klaus Knopper
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: