Someone at work posted a question to the message board there. I suggested a nasty hack as a solution, could someone suggest anything better please?
The person is using knoppix, running from the CD (no HD install) and they are trying to get the drivers for their new intel PCI hardware modem working. The problem is the install script is set up to install the binaries to /usr/sbin and that directory is read only. He assumed that this was because the directory is on the CD and not in the ramdisk. Under that assumption I suggested the following...
copy /usr/sbin to /home/knoppix/sbin (I assumed the home dir is in RAM) add the new sbin dir to $PATH (and here's the nasty bit) change the mount point of the floppy drive to /usr/sbin mount a floppy then run the script.
*If* it works then it should be a case of adding /mnt/floppy/sbin to $PATH after a reboot and everything should work, yes?
Rather than using a nice variable, in the install script every reference to /usr is hardcoded. I suppose a global search/replace would be a good option too...
ta,
BenE
A better solution that _will_ work is to compile translucency first and load this before doing anything else - Tranclucency is a loadable kernel module that allows one directory to be overlaid on top of another. Once loaded, you can then overlay /floppy/sbin on /usr/sbin and still be able to see the contents of /usr/sbin.
An alternative would be to modify the scripts in question to look at /floppy/foo first.
Regards, Paul.
On Wednesday 07 July 2004 6:37 pm, BenEBoy wrote:
*If* it works then it should be a case of adding /mnt/floppy/sbin to $PATH after a reboot and everything should work, yes?