1833790 Members
2903 Online
110063 Solutions
New Discussion

LVM doubt

 
rajesh73
Super Advisor

LVM doubt

what is the difference between character device and block device

 

when creating the VG. Whihc state we can use device and character device. please explain i confused two character files

2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: LVM question

>what is the difference between character device and block device

 

See glossary(9):

block special file
      A special file associated with a mass storage device (such as a hard
      disk or tape cartridge drive) that transfers data in multiple-byte
      blocks, rather than by series of individual bytes (see character
      special file).  Block special files can be mounted.  A block special
      file provides access to the device where hardware characteristics of
      the device are not visible.

character special file
      A special file associated with I/O devices that transfer data byte-by-byte.  Other byte-mode I/O devices

      include printers, nine-track magnetic tape drives, and disk drives when accessed in "raw" mode (see
      raw disk).  A character special file has no predefined structure.

rajesh73
Super Advisor

Re: LVM doubt

thanks for your reply