cat writebug.cn/history

一个开发者的技术博客。

linux设置文件只读, 直到关机

:::bash
mount -o bind $file $file
mount -o remount,bind,ro $file