Corey Coughlin posted on Wed, 06 Jul 2016 23:40:30 -0700 as excerpted: > Well yeah, if I was mounting all the disks to different mount points, I > would definitely use UUIDs to get them mounted. But I haven't seen any > way to set up a "mkfs.btrfs" command to use UUID or anything else for > individual drives. Am I missing something? I've been doing a lot of > googling.
FWIW, you can use the /dev/disk/by-*/* symlinks (as normally setup by udev) to reference various devices. Of course because the identifiers behind by-uuid and by-label are per- filesystem, those will normally only identify the one device of a multi- device filesystem, but the by-id links ID on device serials and partition number, and if you are using GPT partitioning, you have by-partuuid and (if you set them when setting up the partitions) by-partlabel as well. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html