unbrice / shake

Shake is a defragmenter that runs in userspace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmpfile location ?

bartoszek opened this issue · comments

Shouldn't tmpfile location be specified and actually put in /tmp/ or /var/tmp instead of putting it in $HOME ?

shake/main.c

Line 276 in 33dd09d

tmpname = strdup ("shakeXXXXXX");

$sudo pv -d `pgrep shake`
3:/home/bartus/shakej9LlvJ:  252 B 0:19:05 [17MiB/s] [  <=>  ]

It's in the working directory actually, but I think you're right it should be $TMPDIR. Care to send a patch?