HOME            INDEX


This was the response I got from my Linux guru, Steve, about a problem I had with running out of hard disk space when using the Kmediafactory DVD authoring application. As always, many thanks Steve, and I hope you don't mind me posting your words here.

> I am currently trying out Kmediafactory, a pleasantly simple video DVD
> authoring application. It's certainly easy to use, or so it seems, but
> it hasn't finished yet, and I don't know what the finished product will
> be like.

Cool. Never done any dvd production, went through the painful process of
digitising VHS->xvid a while ago and it's such a time consuming process to
get decent results.

> This application, and many others, likes to try and use /tmp as an
> intermediate place to store it's files - while transcoding the video in
> this instance. The problem is that my root partition has very little
> space on it - less than 1,6 GB at present. I didn't appreciate that
> Kmediafactory was going to use /tmp until the application crashed. The
> workaround is to specify that it should use (in my case) /home/bill/temp
> where there is loads of space :-
>
> bill@dimension:~> df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sdb2 6.9G 5.0G 1.6G 76% /
> udev 1013M 104K 1013M 1% /dev
> */dev/sdb4 354G 127G 209G 38% /home*
> /dev/sda1 299G 291G 7.9G 98% /movies
> /dev/sdb1 98G 16G 83G 16% /winxp
>
> The problem then is that /I think/ that I have to specify this every
> time I use it because it appears in the project configuration rather
> than the application configuration. There must be a simpler solution to
> this and I am thinking in terms of linking /tmp to my home directory. I
> am not sure quite how to do this, and even more unsure if it possible to
> do it only for when I am the user. The latter is a bit academic because,
> essentially, I am the only user, but it would be nice to do it properly
> if it can be done in the way I hope it can be done.
>
> What would be your solution to this little annoyance ?

Well, the ideal solution is to have a decent sized /tmp area, but for
personal experience I know manipulating video generates massive files. I
would create a directory call /home/tmp, give it the relevant privs and
sym link it to /tmp.....

mkdir /home/tmp
chmod 777 /home/tmp
chmod o+t /home/tmp
cp -a /tmp /home/tmp
rm -rf /tmp
ln -s /home/tmp /tmp

Should do the trick!

So far I have not followed Steve's advice. I moved on to a different, although perhaps not so polished DVD authoring application. When I next try mediafactory I may try a different solution. I could add a new hard disk, perhaps one of a couple of old 80 GB dives I have lying around, to my PC and use that just for the /tmp directory. 80 GB should be enough for anyone ! In future I think I will make my root partitions far larger than I have done in the past !