UNIX Device I/O

| 0 Comments | 0 TrackBacks

Character Files
- corresponding to haracter-based or raw device access
- character special files are used for unbuffered data transfers to and from a device
- example: a terminal
- example, disk: /dev/rdsk/c0t0d0s0


Block Files
- corresponding to block I/O device access
- block special files are used when data is transferred in fixed-size chunks known as blocks
- example: most file I/O
- example, disk: /dev/dsk/c0t0d0s0

* From O'Reilly Essentail System Administration - 3rd Edition

No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/65

Leave a comment

Recent Entries

Duplicating Volume & LUNs to Aggregate using Snapmirror
# Gather original volume size and LUN serials vol size /vol/SOURCE_VOL lun show -v /vol/SOURCE_VOL/SOURCE_1_LUN lun show -v /vol/SOURCE_VOL/SOURCE_2_LUN…
Converting VIDEO_TS to ISO on Mac
Do not include the VIDEO_TS folder in the path. Only the parent of the VIDEO_TS folder is needed. hdiutil makehybrid…
Presenting Sun Disks using cfgadm
After creating a new RAID1 volume using raidctl. The disks on the box can be presented to devfs/devices via the…