To loop or not to loop with btrfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


This left me puzzled for a while:

22:29 borg:/ # losetup /dev/loop1 /.B.disk
22:29 borg:/ # mount /dev/loop1 /B
mount: /dev/loop1: can't read superblock
22:29 borg:/ # blkid /dev/loop1
/dev/loop1: UUID="e19fe89b-cde3-4ccc-bc70-b759a57bd1c9"
UUID_SUB="f29c6218-d040-4546-a227-4dd2d2142817" TYPE="btrfs" 
22:29 borg:/ # losetup -d /dev/loop1
22:29 borg:/ # losetup /dev/loop2 /.B.disk 
22:29 borg:/ # mount /dev/loop2 /B
(success)

So the btrfs volume is tied to loop2? That certainly is not good.
Even real disks (/dev/sd*) can move around, the more so USB flash
gadgets and loop devices.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux