LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Making a partition readonly? (https://www.linuxquestions.org/questions/slackware-14/making-a-partition-readonly-4175638310/)

coldbeer 09-13-2018 07:56 AM

Making a partition readonly?
 
I have data partition that I want to make readonly.
Can I do this through /etc/fstab?

Code:

/dev/sda4    /data    ext3    defaults    1    2
Is this all I need to do?...

Code:

/dev/sda4    /data    ext3    ro    1    2

pan64 09-13-2018 07:57 AM

yes, that should make it read only.


All times are GMT -5. The time now is 04:57 AM.