Print this page
    
NEX-14459 blkdev needs to force attach on boot
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/pkg/manifests/driver-storage-blkdev.mf
          +++ new/usr/src/pkg/manifests/driver-storage-blkdev.mf
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2014 Garrett D'Amore <garrett@damore.org>
  25   25  #
  26   26  
  27   27  #
  28   28  # The default for payload-bearing actions in this package is to appear in the
  29   29  # global zone only.  See the include file for greater detail, as well as
  30   30  # information about overriding the defaults.
  31   31  #
  32   32  <include global_zone_only_component>
  33   33  set name=pkg.fmri value=pkg:/driver/storage/blkdev@$(PKGVERS)
  34   34  set name=pkg.description value="Generic Block Driver"
  35   35  set name=pkg.summary value="Generic Block Driver"
  
    | 
      ↓ open down ↓ | 
    35 lines elided | 
    
      ↑ open up ↑ | 
  
  36   36  set name=info.classification \
  37   37      value=org.opensolaris.category.2008:Drivers/Storage
  38   38  set name=variant.arch value=$(ARCH)
  39   39  dir path=kernel group=sys
  40   40  dir path=kernel/drv group=sys
  41   41  dir path=kernel/drv/$(ARCH64) group=sys
  42   42  dir path=usr/share/man
  43   43  dir path=usr/share/man/man7d
  44   44  driver name=blkdev perms="* 0640 root root"
  45   45  file path=kernel/drv/$(ARCH64)/blkdev group=sys
       46 +file path=kernel/drv/blkdev.conf group=sys
  46   47  file path=usr/share/man/man7d/blkdev.7d
  47   48  license cr_Sun license=cr_Sun
  48   49  license lic_CDDL license=lic_CDDL
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX