/mnt/wslg/distro
sudo mount -o rw,remount /mnt/wslg/distro
/mnt/wslg/distro ディレクトリー配下のファイル、ディレクトリーを削除できます。そのままでは、rm -r を実行しても “Read-only file system” と表示されて削除できません。
wsl.exe –shutdown で ro に戻ります。続けて sudo mount -o ro,remount /mnt/wslg/distro
を実行すると、「マウントポイントは使用中です.」が表示されます。
コメントする
0件のコメント