cvs commit: src/cddl/lib/libzfs Makefile src/compat/opensolaris/misc deviceid.c src/compat/opensolaris/include devid.h src/contrib/opensolaris/cmd/zpool zpool_vdev.c src/sys/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun May 6 01:39:39 UTC 2007


pjd         2007-05-06 01:39:39 UTC

  FreeBSD src repository

  Modified files:
    cddl/lib/libzfs      Makefile 
    compat/opensolaris/include devid.h 
    contrib/opensolaris/cmd/zpool zpool_vdev.c 
    sys/contrib/opensolaris/uts/common/fs/zfs vdev_geom.c 
  Added files:
    compat/opensolaris/misc deviceid.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.3       +2 -1      src/cddl/lib/libzfs/Makefile
  1.2       +16 -11    src/compat/opensolaris/include/devid.h
  1.1       +119 -0    src/compat/opensolaris/misc/deviceid.c (new)
  1.2       +43 -10    src/contrib/opensolaris/cmd/zpool/zpool_vdev.c
  1.3       +161 -10   src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c


More information about the cvs-src mailing list