Print this page
5857 add -o option to lofiadm
   1 LOFIADM(1M)                  Maintenance Commands                  LOFIADM(1M)
   2 
   3 
   4 
   5 NAME
   6        lofiadm - administer files available as block devices through lofi
   7 
   8 SYNOPSIS
   9        lofiadm [-r] -a file [device]
  10 
  11 
  12        lofiadm [-r] -c crypto_algorithm -a file [device]
  13 
  14 
  15        lofiadm [-r] -c crypto_algorithm -k raw_key_file -a file [device]
  16 
  17 
  18        lofiadm [-r] -c crypto_algorithm -T token_key -a file [device]
  19 
  20 
  21        lofiadm [-r] -c crypto_algorithm -T token_key
  22             -k wrapped_key_file -a file [device]
  23 
  24 
  25        lofiadm [-r] -c crypto_algorithm -e -a file [device]
  26 
  27 
  28        lofiadm -C algorithm [-s segment_size] file
  29 
  30 
  31        lofiadm -d file | device
  32 


  77        -C {gzip | gzip-N | lzma}
  78 
  79            Compress the file with the specified compression algorithm.
  80 
  81            The gzip compression algorithm uses the same compression as the
  82            open-source gzip command. You can specify the gzip level by using
  83            the value gzip-N where N is 6 (fast) or 9 (best compression ratio).
  84            Currently, gzip, without a number, is equivalent to gzip-6 (which
  85            is also the default for the gzip command).
  86 
  87            lzma stands for the LZMA (Lempel-Ziv-Markov) compression algorithm.
  88 
  89            Note that you cannot write to a compressed file, nor can you mount
  90            a compressed file read/write.
  91 
  92 
  93        -d file | device
  94 
  95            Remove an association by file or device name, if the associated
  96            block device is not busy, and deallocates the block device.






  97 
  98 
  99        -r
 100 
 101            If the -r option is specified before the -a option, the device will
 102            be opened read-only.
 103 
 104 
 105        -s segment_size
 106 
 107            The segment size to use to divide the file being compressed.
 108            segment_size can be an integer multiple of 512.
 109 
 110 
 111        -U file
 112 
 113            Uncompress a compressed file.
 114 
 115 
 116 


   1 LOFIADM(1M)                  Maintenance Commands                  LOFIADM(1M)
   2 
   3 
   4 
   5 NAME
   6        lofiadm - administer files available as block devices through lofi
   7 
   8 SYNOPSIS
   9        lofiadm [-r] -a file [device]
  10 
  11 
  12        lofiadm [-r] [-o] -c crypto_algorithm -a file [device]
  13 
  14 
  15        lofiadm [-r] -c crypto_algorithm -k raw_key_file -a file [device]
  16 
  17 
  18        lofiadm [-r] -c crypto_algorithm -T token_key -a file [device]
  19 
  20 
  21        lofiadm [-r] -c crypto_algorithm -T token_key
  22             -k wrapped_key_file -a file [device]
  23 
  24 
  25        lofiadm [-r] -c crypto_algorithm -e -a file [device]
  26 
  27 
  28        lofiadm -C algorithm [-s segment_size] file
  29 
  30 
  31        lofiadm -d file | device
  32 


  77        -C {gzip | gzip-N | lzma}
  78 
  79            Compress the file with the specified compression algorithm.
  80 
  81            The gzip compression algorithm uses the same compression as the
  82            open-source gzip command. You can specify the gzip level by using
  83            the value gzip-N where N is 6 (fast) or 9 (best compression ratio).
  84            Currently, gzip, without a number, is equivalent to gzip-6 (which
  85            is also the default for the gzip command).
  86 
  87            lzma stands for the LZMA (Lempel-Ziv-Markov) compression algorithm.
  88 
  89            Note that you cannot write to a compressed file, nor can you mount
  90            a compressed file read/write.
  91 
  92 
  93        -d file | device
  94 
  95            Remove an association by file or device name, if the associated
  96            block device is not busy, and deallocates the block device.
  97 
  98 
  99        -o
 100 
 101            If the -o option is specified lofiadm will prompt for a passphrase
 102            once.
 103 
 104 
 105        -r
 106 
 107            If the -r option is specified before the -a option, the device will
 108            be opened read-only.
 109 
 110 
 111        -s segment_size
 112 
 113            The segment size to use to divide the file being compressed.
 114            segment_size can be an integer multiple of 512.
 115 
 116 
 117        -U file
 118 
 119            Uncompress a compressed file.
 120 
 121 
 122