Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Moveroot (by Thomas Tanner) updated?

    Reply
    rolan900d | # 1 | 2010-04-08, 08:28 | Report

    Hi gang,

    I have been using the moveroot.sh tweak to move things for more root space!

    Here is how mine looks:
    Originally Posted by
    #!/bin/sh
    # N900 script to safely free space on rootfs
    # (c) 2010 by Thomas Tanner <tanner@maemory.com>
    # licensed under GPLv3

    # move root stuff to /home
    dirs="usr/share/icons usr/share/nokia-maps usr/share/themes usr/share/fonts usr/share/locale usr/lib/locale var/lib/apt"
    #optional: var/lib/dpkg
    if test -d /home/var/cache/apt; then
    # keep existing apt cache
    rm -rf /var/cache/apt
    ln -s /home/var/cache/apt /var/cache/apt
    else
    dirs="$dirs var/cache/apt"
    fi
    (cd / && du -sc $dirs)
    for d in $dirs; do
    test -L /$d && continue
    echo moving /$d
    rm -rf /home/$d
    mkdir -p /home/$d
    cp -a /$d /home/$d/..
    rm -rf /$d
    ln -s /home/$d /$d
    done
    Do you folks in here if this version has been updated?????

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout