Author Topic: dump ramdisk to cf?  (Read 5846 times)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #15 on: February 22, 2004, 09:41:47 pm »
Dump the su command and su before you run the script. I don\'t think that the busybox su can handle multiline commands.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #16 on: February 22, 2004, 11:22:16 pm »
\"hmm so weird... especially when it works if i just copy and paste script in manually...\"

That \"bad interpreter\" message is what I got when I tried to create a script with the built-in texteditor. It doesn\'t work. I then used a working script, ddeleted everything but the first line, saved it and that worked. After setting the permissions to execute! If you used the built-in editor and created from scratch, that may be your problem.
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

shadowkwarrior

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #17 on: February 23, 2004, 12:36:25 am »
omg, it worked!!!!!!!! thank u!!!! wow i hate that stupid text editor now. is there anyway to start by scratch?
SL-5500 tkc 3.0alpha 128MB SD
new SL-5600 sharp rom...still trying to figure out how to flash..

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
dump ramdisk to cf?
« Reply #18 on: February 23, 2004, 04:25:11 am »
Use vi, or grab dos2unix from killefiz and run that on your Windows-ised text file/script.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #19 on: February 23, 2004, 09:37:31 am »
pico and nano are also available at zsi. I haven\'t tried nano yet but I\'ve always liked pico for small text files and edits and it works fine on the Z.

What I\'d like to see is a fixed textedit for the Z so that when I select \"open in text editor\", I get an editor I can use, and one that might have \'search\'...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #20 on: February 23, 2004, 09:41:38 pm »
BTW, try using the Backup/Restore applet on the Sharp ROM.  It creates a tar file of everything in writable memory (except /var, if I remember correctly).  It can write the tar file to either SD or CF.  I use it all the time to backup my system & even have used it after ROM upgrades.  Because it writes a tar file (but doesn\'t give the file a .tar extension), you can always grab a couple of files from the backup, if you need them.

shadowkwarrior

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #21 on: February 23, 2004, 10:24:38 pm »
ah, hmm ya ive tried that, but i tend to not trust it very much as the backup is usually ~150KB and i know ive put more stuff in there, right now w/ the script that backs up the /home directory my backups are ~25MB uncompressed, and ~4MB compressed, 25MB is because i have a 16MB swapfile (i install rest of apps to a SD card, but cant put /home on SD because my simpletech card screws up during resume, and i have no idea how to fix), theres probably quite a bit of stuff i didnt need to backup, but this way just about everything i can change is backed up and after i flash i can get all my settings and applications back in <5mins, alot faster than installing all the apps again and changing things to how i like it.
SL-5500 tkc 3.0alpha 128MB SD
new SL-5600 sharp rom...still trying to figure out how to flash..

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
dump ramdisk to cf?
« Reply #22 on: February 23, 2004, 11:41:35 pm »
That\'s odd. I use the Sharp backup on my 5600. Although I can\'t understand the sysinfo memory readings at all (I install 2 megs of stuff, mem doesn\'t change, or by 10K), I supposedly have 15 to 17 megs of stuff loaded into ram. My backups now are about 21 megs. Looking through the tar, it sure looks like it backs up everything...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF