freebsd-dev/cmd
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
..
zdb Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zfs Fix uninitialized variable 2011-02-23 12:57:25 -08:00
zinject Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpios Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool_id Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool_layout Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
ztest Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zvol_id Use udev to create /dev/zvol/[dataset_name] links 2011-02-25 09:43:19 -08:00
Makefile.am Use udev to create /dev/zvol/[dataset_name] links 2011-02-25 09:43:19 -08:00
Makefile.in Use udev to create /dev/zvol/[dataset_name] links 2011-02-25 09:43:19 -08:00