PDA

View Full Version : symlink to KNOPPIX/subdirectory?



CapnKirk
02-12-2004, 06:16 PM
I'm following the remastering howto, and added a new directory to the /mnt/hda1/knx/source/KNOPPIX directory. However, when I boot with this, the directory does not show up in root but is in /KNOPPIX. I note that other directories in root are symlinked, e.g.,

/usr --> /KNOPPIX/usr

and so forth.

I've looked at /etc/knoppix-autoconfig and other places, but am not sure where I add the necessary "ln -s" command. This has gotta be a FAQ.

Please point me to the documentation for this.

TIA!

Kirk

arkaine23
02-13-2004, 12:56 AM
I use a /data in the root of my filesystem for some things I've added- documentation, karamba themes, stuff like that.

What I do when remastering the CD is point anything that needs those files to /KNOPPIX/data , so it works when running live from the CD. And then I edited the hdd-install scripts to create a /KNOPPIX during the hddinstall and move /data in there (so that my links don't break after hdd-installing).

It's a work-around. I'll post the lines of code I used later when I get home.

CapnKirk
02-13-2004, 04:54 PM
Thanks! The code will be of interest.

I still would like to know where and when the root symlinks are created, so that things like pathnames and enviornment variables are set.

Does anyone know?

Kirk