Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi instructions for tmpfs #19

Open
chrismrutledge opened this issue Jan 29, 2022 · 4 comments
Open

Raspberry Pi instructions for tmpfs #19

chrismrutledge opened this issue Jan 29, 2022 · 4 comments

Comments

@chrismrutledge
Copy link

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.

@lazywalker
Copy link
Owner

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

@doccodyblue
Copy link

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.

@waterwin
Copy link

waterwin commented Oct 3, 2022

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

@chrismrutledge
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants