lofi(4d) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

lofi(4d)

lofi(4D)                  Device Drivers & /dev files                 lofi(4D)

NAME
       lofi - Loopback file driver

DESCRIPTION
       The  lofi file driver exports a file as a block device, enabling system
       utilities such as fstyp(8), fsck(8) and mount(8) to operate on underly‐
       ing file system images (including CD-ROM images) contained on the block
       device. Reads and writes to the block device are  translated  to  reads
       and writes on the exported file. See lofiadm(8) for examples.


       Either  a labeled or an unlabeled device can be created while exporting
       a file as a block device. As compared to an  unlabeled  device,  it  is
       easier  to access partitions and slices on the disk image file with la‐
       beled device.


       For  an  unlabeled  device,  block  device  entries  are  contained  in
       /dev/lofi  The  /dev/rlofi  file contains the character (or raw) device
       assigned through lofiadm(8).


       For a labeled device, block device entries are  contained  in  /dev/dsk
       while raw device entries are under /dev/rdsk. As with normal disks, en‐
       tries are named in cXtYd0 form by lofiadm(8).


       When created, these device entries are owned by root, in group sys, and
       have permissions of 0600. Ownership, group, and permission settings can
       be altered, however there may be ramifications. See lofiadm(8) for more
       information.


       lofi devices can be compressed. See lofiadm(8) for more information.


       Files  exported  through lofi can also be encrypted. See lofiadm(8) for
       details on how to specify encryption keys.


       Normally, one file can be exported as only one block device. However, a
       removable block device can be created so that one file can be  exported
       through  multiple  block  devices  at the same time in a read-only way.
       Also, one removable device can be used to export different file at dif‐
       ferent time. See lofiadm(8) for details on how to create removable  de‐
       vices.

FILES
       /dev/lofictl

           Master control device.


       /dev/lofi/n

           Block device of an unlabeled lofi device.


       /dev/rlofi/n

           Character device of an unlabeled lofi device.


       /dev/dsk/cXtYd0*

           Block device of a labeled lofi device.


       /dev/rdsk/cXtYd0*

           Character device of a labeled lofi device.


       /kernel/drv/sparcv9/lofi

           64-bit driver (SPARC).


       /kernel/drv/amd64/lofi

           64-bit driver (x86).


       /kernel/drv/lofi.conf

           Driver configuration file. (Do not alter).


ATTRIBUTES
       See attributes(7) for a description of the following attributes:

       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ ArchitectureSPARC, x86 _  Availability  system/core-os,
       system/kernel _ Interface StabilityCommitted


SEE ALSO
       lofs(4FS),  attributes(7),  fsck(8),  fstyp(8),  lofiadm(8),  mount(8),
       newfs(8)

NOTES
       Just as you would not directly access a disk device  that  has  mounted
       file  systems, you should not access a file associated with a block de‐
       vice except through the lofi file driver.


       For compatibility purposes, a raw device  is  also  exported  with  the
       block device. (For example, newfs(8)).

Oracle Solaris 11.4               9 Oct 2012                          lofi(4D)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3