summaryrefslogtreecommitdiffstats
path: root/cddl/lib/libzfs
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-05-06 01:39:39 +0000
committerpjd <pjd@FreeBSD.org>2007-05-06 01:39:39 +0000
commit1effa32b6605b4852fd2e5c00bd93f04f0e3bf60 (patch)
tree155527b23b9a27cd3b08983c2dbd01ca5b09866d /cddl/lib/libzfs
parenta360ad79b03fc86ad14ee529259ec67558935c3c (diff)
downloadFreeBSD-src-1effa32b6605b4852fd2e5c00bd93f04f0e3bf60.zip
FreeBSD-src-1effa32b6605b4852fd2e5c00bd93f04f0e3bf60.tar.gz
Use provider's ident to handle situations when disks are moved around
and show up with different names: first try to open provider using remembered name and compare its ident, if equal, this is our provider, if not equal or there is no provider with such name, find provider with remembered ident and don't care about the name.
Diffstat (limited to 'cddl/lib/libzfs')
-rw-r--r--cddl/lib/libzfs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cddl/lib/libzfs/Makefile b/cddl/lib/libzfs/Makefile
index 9c2921b..a8f2c01 100644
--- a/cddl/lib/libzfs/Makefile
+++ b/cddl/lib/libzfs/Makefile
@@ -9,7 +9,8 @@ LIB= zfs
DPADD= ${LIBUTIL}
LDADD= -lutil
-SRCS= mnttab.c \
+SRCS= deviceid.c \
+ mnttab.c \
mkdirp.c \
zmount.c \
fsshare.c \
OpenPOWER on IntegriCloud