0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【超簡単】Linuxファイルシステムの書き込み禁止を解除して再マウントする方法

Last updated at Posted at 2024-12-07

例えば、/usrディレクトリ配下で書き込みできない場合、以下のコマンドで再マウントすることができます

mount -o remount,rw '/usr'

※上記の/usrの部分をマウントポイントに適宜変更してください

root@nas[~]# mountpoint /boot
/boot is not a mountpoint

root@nas[~]# mountpoint /usr 
/usr is a mountpoint

のようにしてmountpointコマンドで適当にマウントポイントか調べることができます

df コマンドを使用してマウントポイントを一覧表示することもできます

(大学生です・正規雇用のお仕事ありましたら連絡ください✪ ω ✪)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?