Author Topic: Moving /home/tmp to /mnt/cf/tmp  (Read 1974 times)

Anonymous

  • Guest
Moving /home/tmp to /mnt/cf/tmp
« on: March 03, 2004, 04:42:15 am »
I\'ve Sharp ROM 3.13 and want to make some more internal space for installing (the add remove program uses /home/tmp as a cache and so takes double the amount of RAM to install anything internally). How do I move /home/tmp to an external device such as /mnt/cf?
I\'ve tried making symlinks and rebooting but it just hangs on boot. I suspect it has to be mounted before before it is used but I\'ve no idea how or where to do that - does anyone know how? TIA

bluey

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • http://
Moving /home/tmp to /mnt/cf/tmp
« Reply #1 on: March 03, 2004, 05:55:52 am »
You could try to

# mkdir /home/tmp
# mkdir /mnt/cf/tmp (you must\'ve done it already)
add to /etc/fstab:
/mnt/cf/tmp /home/tmp - bind 0 0

But if the card isn\'t mounted already, that could not work too... Maybe changing the script which mount the CF card, since you could need to take the CF out, and it could cause hangs if this dir isn\'t umounted...
SL-5500 - OZ 3.5.3
256Mb Kingston SD Card
64Mb PQI CF Card
Netgear MA701 WiFi CF Card
Mandriva GNU/Linux LE2005
Dreaming of a C model...