Fajar A. Nugraha
4c0d8e50b9
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 <behlendorf1@llnl.gov >
2011-02-25 09:43:19 -08:00
..
2010-12-14 10:06:44 -08:00
2010-08-31 08:38:35 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:57 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2011-02-18 09:31:25 -08:00
2010-08-31 13:41:57 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2011-02-10 09:27:22 -08:00
2010-08-31 08:38:45 -07:00
2010-09-17 16:24:15 -07:00
2011-02-10 09:27:21 -08:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2011-02-10 09:27:21 -08:00
2011-02-23 12:52:51 -08:00
2010-10-12 14:54:59 -07:00
2010-08-31 13:41:58 -07:00
2010-10-12 14:55:03 -07:00
2010-08-31 08:38:46 -07:00
2010-08-31 08:38:49 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 08:38:45 -07:00
2010-08-31 08:38:43 -07:00
2010-12-07 16:05:25 -08:00
2011-02-10 09:27:20 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2010-11-08 14:03:35 -08:00
2010-05-28 13:45:14 -07:00
2011-02-16 11:20:06 -08:00
2010-05-28 13:45:14 -07:00
2010-08-27 15:34:02 -07:00
2010-08-31 08:38:49 -07:00
2011-02-10 09:27:22 -08:00
2011-02-10 09:27:21 -08:00
2010-08-31 08:38:43 -07:00
2010-08-27 15:28:32 -07:00
2010-05-28 13:45:14 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:44 -07:00
2010-08-27 15:28:32 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:43 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 08:38:46 -07:00
2011-02-10 09:27:21 -08:00
2010-08-31 13:41:58 -07:00
2010-05-28 13:45:14 -07:00
2011-02-10 09:27:21 -08:00
2010-10-12 14:55:02 -07:00
2011-02-17 14:23:48 -08:00
2011-02-10 09:27:21 -08:00
2011-02-10 09:27:21 -08:00
2010-08-31 13:41:50 -07:00
2011-02-10 09:27:21 -08:00
2011-02-10 09:27:21 -08:00
2011-02-10 09:27:21 -08:00
2011-02-23 14:00:06 -08:00
2011-02-23 15:03:30 -08:00
2011-02-23 15:13:03 -08:00
2010-08-31 13:41:57 -07:00
2010-05-28 13:45:14 -07:00
2010-05-28 13:45:14 -07:00
2010-08-26 14:24:34 -07:00
2010-11-08 14:03:35 -08:00
2010-05-28 13:45:14 -07:00
2011-02-11 09:05:51 -08:00
2011-02-17 09:48:06 -08:00
2011-02-11 13:47:51 -08:00
2011-02-11 10:41:00 -08:00
2010-09-17 16:24:15 -07:00
2011-02-25 09:43:19 -08:00