linux 分区只读

1
down vote
In case it is a fixed drive and not a removable drive, you can add the entry permanently.

1
sudo vi /etc/fstab

Add an entry in the following format:

1
<file-system> <mount-point> <type> <options> <dump> <pass>

And then do:

1
mount -a

mount -o remount,rw /