zfsonlinux / pkg-zfs

Native ZFS packaging for Debian and Ubuntu
https://launchpad.net/~zfs-native/+archive/daily
308 stars 55 forks source link

Use update-alternatives to allow concurrent installation of zfs-linux and zfs-fuse #14

Open dajhorn opened 12 years ago

dajhorn commented 12 years ago

Use the update-alternatives dpkg facility to allow the ZFS fuse driver and the ZFS native driver to be installed at the same time.

dajhorn commented 12 years ago

This enhancement would be a preliminary step towards implementing zfsonlinux/zfs#8.

ryao commented 12 years ago

Where do you suggest that the files be located in the filesystem to permit symbolic links to be used to select one over the other in a way that prevents collisions?

dajhorn commented 12 years ago

Looking at /etc/alternatives, it seems like /sbin/zfs.fuse and /sbin/zfs.linux would be conventional choices for the diversion with /etc/zfs and /var/lib/zfs shared.

dajhorn commented 12 years ago

It sounds like zfs-fuse development is ending, so implementing this feature may not be worthwhile:

http://groups.google.com/group/zfs-fuse/browse_thread/thread/76ed1b2c59bf545e