Raspberry Pi instructions for tmpfs
There might be a problem with the Raspberry Pi instructions.
I built a brand new DigiSkimmer install yesterday on an RPi4 and when I got to this step:
sudo echo "tmpfs /tmp/digiskr tmpfs defaults,noatime,nosuid,size=300m 0 0" >> /etc/fstab
It didn't want to take the write to fstab. Just gave me a permission denied error even though the sudo command was used, and the Pi user is definitely a sudoer..
I'm not well versed enough in Linux to know what is probably the correct way of writing that line but, I did find that just manually adding the line to fstab seems to have worked and the mount point shows up when you do a df -h.
Hi, Thanks for the report, i don't have a pi4 for the moment, all i got pi3b, maybe someone can give it a try? any response appreciated
Confirmed. I don't know why this was once working, but you redirect sudos output to /etc/fstab here which is not allowed. Try this instead:
sudo bash -c 'echo "tmpfs /tmp/digiskr tmpfs defaults,noatime,nosuid,size=300m 0 0" >> /etc/fstab'
This works fine on current raspbian and probably everywhere else.
Did you try the OP command ? It has no ' at the end of the line where the alternative that is working does
I'm hoping someone that is also having the problem with the command can try out @doccodyblue alternative command line. I ended up manually configuring fstab so it's been rocking along great so far. @lazywalker if you want to just drop that alternative command in as a note in the RPi instructions then close this one up as resolved that works for me..