1
ls  -l  /media/debian9/disk
total 1741
drwxr-xr-x  2 100000 100000       3 Jul 20  2018 acct
-rwxr-xr-x  1 100000 100000    1102 Jul 20  2018 anbox-init.sh

Who is the 100000?

cat /etc/passwd  |grep  100000

Nothing as output.

And i want to remove it.

sudo rm -rf  /media/debian9/disk
rm: cannot remove '/media/debian9/disk/xx': Read-only file system
rm: cannot remove '/media/debian9/disk/yy': Read-only file system

I remount the filesystem as read-write with:

sudo mount -o remount,rw /media/debian9/disk
mount: cannot remount /dev/loop5 read-write, is write-protected
0

/dev/loop5 is a read-only virtual device. But you can try to unmount it (umount /dev/loop5).

| improve this answer | |
  • Read the question again – 炸鱼薯条德里克 Feb 11 '19 at 3:45
  • The questions asks "...and how to remove it?" My answer: You remove it by unmounting it. What's wrong with that? – Freddy Feb 11 '19 at 3:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.