Hi Duncan,
Thanks for the info! I've seen that done in the fstab, but it
didn't work for me the last time I tried it on the command line. Worth a
shot!
------ Corey
On 07/07/2016 06:24 PM, Duncan wrote:
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.
--
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