View Single Post
Old 09-01-2022, 10:17 AM   #5
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by j.p.s View Post

After mntroot rw can you do something like
touch /etc/my-test-file
Weird.
I was able to do this and also running cat /etc/mtab | awk '/\/dev\/root \/ / { print $4 }' said that it was rw and then when I re-tried it a few minutes later it said it was ro!

So I was able to update /etc/sysconfig/iptables by first creating the new file in /mnt/us (no problems doing this via ssh over wifi) and then running mntroot rw and then copying the new iptables file from /mnt/us to /etc/sysconfig/iptables before the system switch back to read only again.
sgmoore is offline   Reply With Quote