DigiSkimmer icon indicating copy to clipboard operation
DigiSkimmer copied to clipboard

Raspberry Pi instructions for tmpfs

Open chrismrutledge opened this issue 3 years ago • 4 comments

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.

chrismrutledge avatar Jan 29 '22 15:01 chrismrutledge

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

lazywalker avatar Feb 24 '22 12:02 lazywalker

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.

doccodyblue avatar Apr 13 '22 05:04 doccodyblue

Did you try the OP command ? It has no ' at the end of the line where the alternative that is working does

waterwin avatar Oct 03 '22 08:10 waterwin

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..

chrismrutledge avatar Oct 08 '22 13:10 chrismrutledge