summaryrefslogtreecommitdiffstats
path: root/cmd/Makefile.in
diff options
context:
space:
mode:
authorFajar A. Nugraha <[email protected]>2011-02-22 17:58:44 +0700
committerBrian Behlendorf <[email protected]>2011-02-25 09:43:19 -0800
commit4c0d8e50b99b4f3b4a9b7bc67ac7fc4e406f5755 (patch)
tree4d1baadba665aa9f15ac34d729f41440c1edf24c /cmd/Makefile.in
parent61da501f9d93f305d21d5d61fa3ecd476bdbac93 (diff)
Use udev to create /dev/zvol/[dataset_name] links
This commit allows zvols with names longer than 32 characters, which fixes issue on https://github.com/behlendorf/zfs/issues/#issue/102. Changes include: - use /dev/zd* device names for zvol, where * is the device minor (include/sys/fs/zfs.h, module/zfs/zvol.c). - add BLKZNAME ioctl to get dataset name from userland (include/sys/fs/zfs.h, module/zfs/zvol.c, cmd/zvol_id). - add udev rule to create /dev/zvol/[dataset_name] and the legacy /dev/[dataset_name] symlink. For partitions on zvol, it will create /dev/zvol/[dataset_name]-part* (etc/udev/rules.d/60-zvol.rules, cmd/zvol_id). Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd/Makefile.in')
-rw-r--r--cmd/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Makefile.in b/cmd/Makefile.in
index f82f9c544..2dcf6a659 100644
--- a/cmd/Makefile.in
+++ b/cmd/Makefile.in
@@ -292,7 +292,7 @@ target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = zfs zpool zpool_id zpool_layout zdb zinject ztest zpios
+SUBDIRS = zfs zpool zpool_id zpool_layout zdb zinject ztest zpios zvol_id
all: all-recursive
.SUFFIXES: