Tiny Core Linux
General TC => General TC Talk => Topic started by: ulfr on November 16, 2018, 03:13:54 PM
-
hi all
if someone could answer this i would appreciate it
if i am correct
tce-load mounts the tcz
but what script file actually creates the symlinks for the tcz
thanks
ulfr
-
Hi ulfr
The tce-load script probably does it using the busybox cp command:
tc@box:~$ busybox cp --help
BusyBox v1.19.3 (2011-10-30 01:47:29 UTC) multi-call binary.
Usage: cp [OPTIONS] SOURCE DEST
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
tc@box:~$
Look for a cp command that includes the -s option.
-
thanks a lot Rich
will do
ulfr
-
Hi ulfr
Search for the routine that begins with:
install(){
-
thanks Rich
yes i have found what you suggested
so it looks like tce-load does the whole job
beautiful code
much appreciated
ulfr
-
which tce-load
/usr/bin/tce-load
just for reference