OK, so to summarise: On 19/05/13 15:49, George Mitchell wrote: > In reply to both of these comments in one message, let me give you an > example. > > I use shell scripts to mount and unmount btrfs volumes for backup > purposes. Most of these volumes are not listed in fstab simply because > I do not want to have to clutter my fstab with volumes that are used > only for backup. So the only way I can mount them is either by LABEL or > by UUID. But I can't unmount them by either LABEL or UUID because that > is not supported by util-linux and they have no intention of supporting > it in the future. So I have to resort to unmounting by directory ... Which all comes to a way of working... Likewise, I have some old and long used backups scripts that mount a one-of-many backups disk pack. My solution is to use filesystem labels and to use 'sed' to update just the one line in /etc/fstab for the backups mount point label so that the backups are then mounted/unmounted by the mount point. I've never been able to use the /dev/sdXX numbering because the multiple physical drives can be detected in a different order. Agreed, that for the sake of good consistency, being able to unmount by filesystem label is a nice/good idea. But is there any interest for that to be picked up? Put in a bug/feature request onto bugzilla? I would guess that most developers focus on mount point and let fstab/mtab sort out the detail... Regards, Martin -- 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
