Print this page
*** NO COMMENTS ***

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/lofiadm.1m
          +++ new/usr/src/man/man1m/lofiadm.1m
   1    1  '\" te
   2    2  .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
   4    4  .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
   5    5  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH LOFIADM 1M "Aug 31, 2009"
        6 +.TH LOFIADM 1M "Aug 28, 2013"
   7    7  .SH NAME
   8    8  lofiadm \- administer files available as block devices through lofi
   9    9  .SH SYNOPSIS
  10   10  .LP
  11   11  .nf
  12      -\fB/usr/sbin/lofiadm\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
       12 +\fBlofiadm\fR [\fB-r\fR] \fB-a\fR \fIfile\fR [\fIdevice\fR]
  13   13  .fi
  14   14  
  15   15  .LP
  16   16  .nf
  17      -\fB/usr/sbin/lofiadm\fR \fB-c\fR \fIcrypto_algorithm\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
       17 +\fBlofiadm\fR [\fB-r\fR] \fB-c\fR \fIcrypto_algorithm\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
  18   18  .fi
  19   19  
  20   20  .LP
  21   21  .nf
  22      -\fB/usr/sbin/lofiadm\fR \fB-c\fR \fIcrypto_algorithm\fR \fB-k\fR \fIraw_key_file\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
       22 +\fBlofiadm\fR [\fB-r\fR] \fB-c\fR \fIcrypto_algorithm\fR \fB-k\fR \fIraw_key_file\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
  23   23  .fi
  24   24  
  25   25  .LP
  26   26  .nf
  27      -\fB/usr/sbin/lofiadm\fR \fB-c\fR \fIcrypto_algorithm\fR \fB-T\fR \fItoken_key\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
       27 +\fBlofiadm\fR [\fB-r\fR] \fB-c\fR \fIcrypto_algorithm\fR \fB-T\fR \fItoken_key\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
  28   28  .fi
  29   29  
  30   30  .LP
  31   31  .nf
  32      -\fB/usr/sbin/lofiadm\fR \fB-c\fR \fIcrypto_algorithm\fR \fB-T\fR \fItoken_key\fR
       32 +\fBlofiadm\fR [\fB-r\fR] \fB-c\fR \fIcrypto_algorithm\fR \fB-T\fR \fItoken_key\fR
  33   33       \fB-k\fR \fIwrapped_key_file\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
  34   34  .fi
  35   35  
  36   36  .LP
  37   37  .nf
  38      -\fB/usr/sbin/lofiadm\fR \fB-c\fR \fIcrypto_algorithm\fR \fB-e\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
       38 +\fBlofiadm\fR [\fB-r\fR] \fB-c\fR \fIcrypto_algorithm\fR \fB-e\fR \fB-a\fR \fIfile\fR [\fIdevice\fR]
  39   39  .fi
  40   40  
  41   41  .LP
  42   42  .nf
  43      -\fB/usr/sbin/lofiadm\fR \fB-C\fR \fIalgorithm\fR [\fB-s\fR \fIsegment_size\fR] \fIfile\fR
       43 +\fBlofiadm\fR \fB-C\fR \fIalgorithm\fR [\fB-s\fR \fIsegment_size\fR] \fIfile\fR
  44   44  .fi
  45   45  
  46   46  .LP
  47   47  .nf
  48      -\fB/usr/sbin/lofiadm\fR \fB-d\fR \fIfile\fR | \fIdevice\fR
       48 +\fBlofiadm\fR \fB-d\fR \fIfile\fR | \fIdevice\fR
  49   49  .fi
  50   50  
  51   51  .LP
  52   52  .nf
  53      -\fB/usr/sbin/lofiadm\fR \fB-U\fR \fIfile\fR
       53 +\fBlofiadm\fR \fB-U\fR \fIfile\fR
  54   54  .fi
  55   55  
  56   56  .LP
  57   57  .nf
  58      -\fB/usr/sbin/lofiadm\fR [ \fIfile\fR | \fIdevice\fR]
       58 +\fBlofiadm\fR [ \fIfile\fR | \fIdevice\fR]
  59   59  .fi
  60   60  
  61   61  .SH DESCRIPTION
  62   62  .sp
  63   63  .LP
  64   64  \fBlofiadm\fR administers \fBlofi\fR, the loopback file driver. \fBlofi\fR
  65   65  allows a file to be associated with a block device. That file can then be
  66   66  accessed through the block device. This is useful when the file contains an
  67   67  image of some filesystem (such as a floppy or \fBCD-ROM\fR image), because the
  68   68  block device can then be used with the normal system utilities for mounting,
↓ open down ↓ 56 lines elided ↑ open up ↑
 125  125  .ne 2
 126  126  .na
 127  127  \fB\fB-d\fR \fIfile\fR | \fIdevice\fR\fR
 128  128  .ad
 129  129  .sp .6
 130  130  .RS 4n
 131  131  Remove an association by \fIfile\fR or \fIdevice\fR name, if the associated
 132  132  block device is not busy, and deallocates the block device.
 133  133  .RE
 134  134  
      135 +.sp
      136 +.ne 2
      137 +.na
      138 +\fB\fB-r\fR
      139 +.ad
      140 +.sp .6
      141 +.RS 4n
      142 +If the \fB-r\fR option is specified before the \fB-a\fR option, the
      143 +\fIdevice\fR will be opened read-only.
      144 +.RE
      145 +
 135  146  .sp
 136  147  .ne 2
 137  148  .na
 138  149  \fB\fB-s\fR \fIsegment_size\fR\fR
 139  150  .ad
 140  151  .sp .6
 141  152  .RS 4n
 142  153  The segment size to use to divide the file being compressed. \fIsegment_size\fR
 143  154  can be an integer multiple of 512.
 144  155  .RE
↓ open down ↓ 625 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX