On 2015-04-14 08:47:15 -0300, Henrique de Moraes Holschuh wrote:
> Also, some of the Unix best-practices do address this kind of
> filesystem issue. One such best-practice is that you don't remove
> just the files in ephemeral directories: you either use an ephemeral
> filesystem (tmpfs) in the first place which is optimized for reuse
> in Linux, Solaris and the BSDs, or you recursively remove the
> directory itself (and recreate it -- but do it safely, there are
> race condition concerns here if the parent is world-writeable).

Note that in my case, though it was called "tmp", it wasn't ephemeral
in the sense that after a reboot, I want the data to be kept (it is
usually empty after a reboot, but just because I usually synchronize
the results with a server, and then I can empty it manually without
losing data).

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150414132603.gd25...@ypig.lip.ens-lyon.fr

Reply via email to