I am very confused to how /dev/dm-1 was being used as a swapspace by my Ubuntu guest Virtualbox VM. gparted doesn't show these drives. enter image description here

  • What is going on here?
  • How does the same drive dm-1 have different permissions?
  • Why can't I see /dev/ listed?
  • Is there anything different in /sys/block when Ubuntu is a virtual machine?

enter image description here

  • I can do cd /dev/ – George Udosen Dec 23 '18 at 21:25
  • I am very confused as to what is going on in this question. Different permissions to what? What happens when you cd /dev? virtual machine what? If you question is about the mode of the files in your second listing, then they are softlinks. softlinks always have that mode. It is not the mode of what is being pointed to. – ctrl-alt-delor Dec 23 '18 at 22:15
  • @GeorgeUdosen Why are you telling us that? – ctrl-alt-delor Dec 23 '18 at 22:15
  • Because OP says they can't but I can! – George Udosen Dec 23 '18 at 22:23
  • sorry, I fixed my question. – Gabriel Fair Dec 24 '18 at 15:23

Your Answer

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

Browse other questions tagged or ask your own question.