How do I block a device in Linux?

How do I block a device in Linux?
Answer
If you want remove the new filesystem, use the following steps:
  1. Umount and delete the directory /loopfs. umount /loopfs rmdir /loopfs.
  2. Delete the loopback device “loop0” created using the “losetup -d” command. # losetup -d /dev/loop0.
  3. Finally remove the file “/root/loopbackfile. img” used to create the loop device.
 

Tìm kiếm

Back
Top