On Thu, Dec 18, 2008 at 07:05:44PM +0000, Ross Smith wrote: > > Absolutely. > > > > The tool shouldn't need to know that the backup disk is accessed via > > USB, or whatever. The GUI should, however, present devices > > intelligently, not as cXtYdZ! > > Yup, and that's easily achieved by simply prompting for a user > friendly name as devices are attached. Now you could store that > locally, but it would be relatively easy to drop an XML configuration > file on the device too, allowing the same friendly name to be shown > wherever it's connected.
I was thinking more something like: - find all disk devices and slices that have ZFS pools on them - show users the devices and pool names (and UUIDs and device paths in case of conflicts) - let the user pick one. - in the case that the user wants to initialize a drive to be a backup you need something more complex. - one possibility is to tell the user when to attach the desired backup device, in which case the GUI can detect the addition and then it knows that that's the device to use (but be careful to check that the user also owns the device so that you don't pick the wrong one on multi-seat systems) - another is to be much smarter about mapping topology to physical slots and present a picture to the user that makes sense to the user, so the user can click on the device they want. This is much harder. Nico -- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss