WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] SCM Questions  (Read 2822 times)

Offline cortman

  • WikiUser
  • *
  • Posts: 36
[SOLVED] SCM Questions
« on: April 04, 2013, 09:35:54 AM »
Sorry if these are already addressed and I'm missing them. I have several questions about SCMs.

- Where is the correct place to store SCMs? The computer that I use TC on doesn't have networking capabilities, so I copy/paste them over a flash drive.
- How can I get an SCM to load at boot, like a .tcz does with onboot.lst?

Thank you.
« Last Edit: April 04, 2013, 03:59:13 PM by cortman »
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

aus9

  • Guest
Re: SCM Questions
« Reply #1 on: April 04, 2013, 03:26:59 PM »
I know even less about scms that you do, so will answer and hope others will supply a better answer

1) same place as your tcz files.........../mnt/sdxn/tce/optional

2) I suggest using bootlocal.sh

/usr/bin/scm-load -i something1.scm something2.scm  something3.scm

3) So are these onboot scms ever going to be unloaded while system is booted?

Offline cortman

  • WikiUser
  • *
  • Posts: 36
Re: SCM Questions
« Reply #2 on: April 04, 2013, 03:33:49 PM »
I know even less about scms that you do, so will answer and hope others will supply a better answer

1) same place as your tcz files.........../mnt/sdxn/tce/optional

2) I suggest using bootlocal.sh

/usr/bin/scm-load -i something1.scm something2.scm  something3.scm

3) So are these onboot scms ever going to be unloaded while system is booted?

No, I don't think I'll ever unload them.

Where should I store the bootlocal.sh file?
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

aus9

  • Guest
Re: SCM Questions
« Reply #3 on: April 04, 2013, 03:41:05 PM »
err hang on, I just found out that instead of bootlocal we have roberts saying

http://forum.tinycorelinux.net/index.php/topic,12960.msg71192.html#msg71192

2) bootlocal.sh is supposed to exist under /opt

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4238
Re: SCM Questions
« Reply #4 on: April 04, 2013, 03:42:09 PM »
Use the scmboot.lst file, scmapps,  or the /usr/bin/scm* binaries.

aus9

  • Guest
Re: SCM Questions
« Reply #5 on: April 04, 2013, 03:50:28 PM »
gerald_clark

scmboot.lst

wish I had thought of that.

Offline cortman

  • WikiUser
  • *
  • Posts: 36
Re: SCM Questions
« Reply #6 on: April 04, 2013, 03:54:00 PM »
Thanks all.
Should scmboot.lst be located in the same directory as onboot.lst?
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

aus9

  • Guest
Re: SCM Questions
« Reply #7 on: April 04, 2013, 03:54:55 PM »
yes

/mnt/sdxn/tce

Offline cortman

  • WikiUser
  • *
  • Posts: 36
Re: SCM Questions
« Reply #8 on: April 04, 2013, 03:58:50 PM »
Great, thanks again for the help! :)
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

aus9

  • Guest
Re: SCM Questions
« Reply #9 on: April 04, 2013, 03:59:46 PM »
offtopic

I just noticed my dual boot has scm references, heaps of them which means using the search tool find may be misleading
eg

Code: [Select]
sudo find / -name *.scm
/mnt/sda3/tce/optional/epdfview.scm
/mnt/sda3/tce/optional/leafpad.scm
/mnt/sda3/tce/optional/gtk2.scm
/mnt/sda1/home/gordon/.config/Thunar/accels.scm
/mnt/sda1/usr/share/guile/1.8/oop/goops.scm
/mnt/sda1/usr/share/guile/1.8/oop/goops/describe.scm
******list culled

(work a round is )

sudo umount /mnt/sda1
tc@box:~$ sudo find / -name *.scm
/mnt/sda3/tce/optional/epdfview.scm
/mnt/sda3/tce/optional/leafpad.scm
/mnt/sda3/tce/optional/gtk2.scm