Print this page
manpage lint.


  64 .LP
  65 \fBlofiadm\fR administers \fBlofi\fR, the loopback file driver. \fBlofi\fR
  66 allows a file to be associated with a block device. That file can then be
  67 accessed through the block device. This is useful when the file contains an
  68 image of some filesystem (such as a floppy or \fBCD-ROM\fR image), because the
  69 block device can then be used with the normal system utilities for mounting,
  70 checking or repairing filesystems. See \fBfsck\fR(1M) and \fBmount\fR(1M).
  71 .sp
  72 .LP
  73 Use \fBlofiadm\fR to add a file as a loopback device, remove such an
  74 association, or print information about the current associations.
  75 .sp
  76 .LP
  77 Encryption and compression options are mutually exclusive on the command line.
  78 Further, an encrypted file cannot be compressed later, nor can a compressed
  79 file be encrypted later.
  80 
  81 In the global zone, \fBlofiadm\fR can be used on both the global
  82 zone devices and all devices owned by other non-global zones on the system.
  83 .sp
  84 .LP
  85 .SH OPTIONS
  86 .sp
  87 .LP
  88 The following options are supported:
  89 .sp
  90 .ne 2
  91 .na
  92 \fB\fB-a\fR \fIfile\fR [\fIdevice\fR]\fR
  93 .ad
  94 .sp .6
  95 .RS 4n
  96 Add \fIfile\fR as a block device.
  97 .sp
  98 If \fIdevice\fR is not specified, an available device is picked.
  99 .sp
 100 If \fIdevice\fR is specified, \fBlofiadm\fR attempts to assign it to
 101 \fIfile\fR. \fIdevice\fR must be available or \fBlofiadm\fR will fail. The
 102 ability to specify a device is provided for use in scripts that wish to
 103 reestablish a particular set of associations.
 104 .RE




  64 .LP
  65 \fBlofiadm\fR administers \fBlofi\fR, the loopback file driver. \fBlofi\fR
  66 allows a file to be associated with a block device. That file can then be
  67 accessed through the block device. This is useful when the file contains an
  68 image of some filesystem (such as a floppy or \fBCD-ROM\fR image), because the
  69 block device can then be used with the normal system utilities for mounting,
  70 checking or repairing filesystems. See \fBfsck\fR(1M) and \fBmount\fR(1M).
  71 .sp
  72 .LP
  73 Use \fBlofiadm\fR to add a file as a loopback device, remove such an
  74 association, or print information about the current associations.
  75 .sp
  76 .LP
  77 Encryption and compression options are mutually exclusive on the command line.
  78 Further, an encrypted file cannot be compressed later, nor can a compressed
  79 file be encrypted later.
  80 
  81 In the global zone, \fBlofiadm\fR can be used on both the global
  82 zone devices and all devices owned by other non-global zones on the system.
  83 .sp

  84 .SH OPTIONS
  85 .sp
  86 .LP
  87 The following options are supported:
  88 .sp
  89 .ne 2
  90 .na
  91 \fB\fB-a\fR \fIfile\fR [\fIdevice\fR]\fR
  92 .ad
  93 .sp .6
  94 .RS 4n
  95 Add \fIfile\fR as a block device.
  96 .sp
  97 If \fIdevice\fR is not specified, an available device is picked.
  98 .sp
  99 If \fIdevice\fR is specified, \fBlofiadm\fR attempts to assign it to
 100 \fIfile\fR. \fIdevice\fR must be available or \fBlofiadm\fR will fail. The
 101 ability to specify a device is provided for use in scripts that wish to
 102 reestablish a particular set of associations.
 103 .RE