...ttribute files in /sys /sys/class/scsi_host/host * /rescan The host rescan attribute is a write-only attribute. Writing to this attribute will cause the driver to scan for new, …...en the device is opened. For example, the system administrator can define one device that writes in fixed-block mode with a certain block size, and one which writes in variable-…...6 CPU MSR access device DESCRIPTION /dev/cpu/CPUNUM/msr provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU. CPUNUM is the number of the CP…...PSIS #include <asm/dsp56k.h> ssize_t read(int fd , void * data , size_t length ); ssize_t write(int fd , void * data , size_t length ); int ioctl(int fd , DSP56K_UPLOAD, struct …...his device, the daemon may read (2) requests from that file descriptor and is expected to write (2) back its replies. It is important to note that a file descriptor is associate…...eturned. Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present. Since Linux 2.6.26, and depending on the architecture, the…...eturned. Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present. Since Linux 2.6.26, and depending on the architecture, the…...eturned. Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present. Since Linux 2.6.26, and depending on the architecture, the…...device /dev/ram0 and then frees the memory used by /dev/initrd . (3) The kernel then read-write mounts the device /dev/ram0 as the initial root filesystem. (4) If the indicated …...iting output with the LIRC_MODE_PULSE mode The data written to the character device using write (2) is a pulse/space sequence of integer values. Pulses and spaces are only marke…...h=%#03x attrib=%#02x\n", ch, attrib); s ^= 0x1000; (void) lseek(fd, -2, SEEK_CUR); (void) write(fd, &s, 2); exit(EXIT_SUCCESS); } SEE ALSO ioctl_console (2), tty (4), ttyS (4), …...h=%#03x attrib=%#02x\n", ch, attrib); s ^= 0x1000; (void) lseek(fd, -2, SEEK_CUR); (void) write(fd, &s, 2); exit(EXIT_SUCCESS); } SEE ALSO ioctl_console (2), tty (4), ttyS (4), …...waking up processes that sleep waiting for entropy from /dev/random . The default is 64. write_wakeup_threshold This file contains the number of bits of entropy below which we w…...waking up processes that sleep waiting for entropy from /dev/random . The default is 64. write_wakeup_threshold This file contains the number of bits of entropy below which we w….../full DESCRIPTION The file /dev/full has major device number 1 and minor device number 7. Writes to the /dev/full device fail with an ENOSPC error. This can be used to test how …...y. HPSA-specific host attribute files in /sys /sys/class/scsi_host/host*/rescan This is a write-only attribute. Writing to this attribute will cause the driver to scan for new, …...g is 0, then the out-of-paper, offline, and error signals are required to be false on all writes, otherwise they are ignored. The default is to ignore them. int ioctl(int fd , L…...KALM_SET Some RTCs support a more powerful alarm interface, using these ioctls to read or write the RTC's alarm time (respectively) with this structure: struct rtc_wkalrm { unsi…