Author Topic: Can I Use The Free Space In Root  (Read 5869 times)

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Can I Use The Free Space In Root
« on: October 27, 2006, 04:50:16 pm »
According to Meanie's System Info program I have 5 MB of unused space in my root,
and I wondered if there is any way I can use that 5 MB instead of just letting it go to waste.

I tried cacko for awhile so that I could have more storage space, but there were too many little glitches and I went back to the sharp rom (see my sig).

Thanks,
Doug
« Last Edit: October 27, 2006, 04:53:34 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #1 on: October 27, 2006, 06:53:13 pm »
You can add programs to the space in root if you remount / as read-write.
[command]mount -o remount.rw /[/command]

However you don't get the same compression that you get from creating a jffs2 from scratch so you might not actually get 5mb (maybe more like 4 from experience)

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

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #2 on: October 27, 2006, 07:14:43 pm »
So then I probably wouldn't gain enough to make it worthwhile.
And I suppose if I had to reset it I would lose whatever I had put there.

I still have 37 MB left in /home so I think I'm good for quite a while, plus I could install some programs to the SD card.

I think maybe I'd better leave well enough alone.

Thanks Stu
« Last Edit: October 27, 2006, 07:15:26 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #3 on: March 07, 2007, 01:42:48 pm »
Quote
You can add programs to the space in root if you remount / as read-write.
[command]mount -o remount.rw /[/command]

However you don't get the same compression that you get from creating a jffs2 from scratch so you might not actually get 5mb (maybe more like 4 from experience)

Stu
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144981\"][{POST_SNAPBACK}][/a][/div]
I've been trying to get / mounted as rw using this command, but I get the following message:

# mount -o remount.rw /
mount: Mounting /dev/mtdblock2 on / failed: Device or resource busy

I've rebooted several times and it's still the same.
Any ideas?

Thanks,
Doug
« Last Edit: March 07, 2007, 01:49:29 pm by dougeeebear »
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Can I Use The Free Space In Root
« Reply #4 on: March 07, 2007, 04:09:01 pm »
did you use comma or full stop, need a comma

mount -o remount,rw /
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #5 on: March 07, 2007, 04:15:22 pm »
I just got it to work this way:

mount -o remount rw /
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #6 on: March 07, 2007, 04:38:56 pm »
Sorry Doug,

My typo - it should have been a , (comma) rather than a . (period/fullstop)

Looks like the a space works too

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

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Can I Use The Free Space In Root
« Reply #7 on: March 07, 2007, 04:58:10 pm »
Quote
I just got it to work this way:

mount -o remount rw /
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155711\"][{POST_SNAPBACK}][/a][/div]

ah yes, the default mode is rw.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

dougeeebear

  • Hero Member
  • *****
  • Posts: 537
    • View Profile
    • http://
Can I Use The Free Space In Root
« Reply #8 on: March 10, 2007, 01:47:45 pm »
Now that I know how to mount / as rw, I would have to install ipks from the console, because the GUI doesn't have the option.
What would the command be to do that?

Thanks, Doug
Zaurus SL-C1000 and SL-5500
NetWalker PC-T1 (tablet)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Can I Use The Free Space In Root
« Reply #9 on: March 10, 2007, 05:11:16 pm »
as root
ipkg install /dir/mypackage.ipk
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.