[Airtime 1.9.x] Move /tmp/airtime/* to /home
  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    Hi everyone,

    I have a disk Space problem on my /, it is possible to move /tmp/airtime/* (the pypo's scheduler files) in my /home folder (1To NAS Mount)

    Thank a lot
  • 12 Comments sorted by
  • Rick MundayRick Munday
    Posts: 104Member
    man ln


  • Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Not without changing the code, but you can also adjust the caching time in /etc/airtime/pypo.cfg:

    prepare_ahead = 24 #in hours

    You can reduce that value to the maximum show length.


    cache_for = 24 #how long to hold the cache, in hours

    This you can pretty much reduce to zero, it is only used for debugging purposes.


  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    Thank Paul,

    CAn't I modify the line
    cache_base_dir = '/var/tmp/airtime/pypo' by cache_base_dir = '/home/tmp/airtime/pypo'
    Post edited by Nicolas Rolin at 2012-02-09 05:11:53
  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    It is obligatory to have this cache ?
  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    I've deleted the old folders in /var/tmp/airtime/pypo/schedule <2012.02.09

    That's good but I also want to move this temp folder, is it possible ?
  • Albert FRAlbert FR
    Posts: 576Member
    how say Rick before, you can do also a symlink,
    thats perhaps the better way ;)
    Post edited by Albert FR at 2012-02-09 08:54:03
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Rick MundayRick Munday
    Posts: 104Member
    Certainly easier!  B-)
  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    Thank Albert.

    can you explain the "symlink" please ?

    in french if you want ;)
  • Albert FRAlbert FR
    Posts: 576Member
    encore mieux (et comme je suis un grand flemmard ;)

    http://doc.ubuntu-fr.org/tutoriel/console_commandes_de_base

    recherche ln dans la page et suis la doc ;)

    mais bon en gros :
    ln -s Rep1/Rep2/Monfichier MonLien

    Crée un lien symbolique MonLien de Rep1/Rep2/Monfichier dans le répertoire où on se trouve

    donc dans ton cas si j'ai bien compris ;)

    ln -s /home/tmp/airtime/pypo /var/tmp/airtime/pypo

    en pensant dabord à supprimer le repertoire pypo dans /var/tmp/airtime/

    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    Merci Albert, je vais essayer cela dans la journée...et reviendrai poster le résultat ;)

    merci beaucoup

  • Nicolas RolinNicolas Rolin
    Posts: 92Member
    Retour comme convenu, même si avec un peu de retard, tout fonctionne parfaitement bien, merci beaucoup

    Feedback, instead of a long time. The solution works fine, thank a lot 
  • Albert FRAlbert FR
    Posts: 576Member
    alors @Nicolas problème réglé ?
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect