Query: proc_scsi_write
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PROC_SCSI_WRITE(9) SCSI mid layer PROC_SCSI_WRITE(9)NAMEproc_scsi_write - handle writes to /proc/scsi/scsiSYNOPSISssize_t proc_scsi_write(struct file * file, const char __user * buf, size_t length, loff_t * ppos);ARGUMENTSfile not used buf buffer to write length length of buf, at most PAGE_SIZE ppos not usedDESCRIPTIONthis provides a legacy mechanism to add or remove devices by Host, Channel, ID, and Lun. To use, "echo 'scsi add-single-device 0 1 2 3' > /proc/scsi/scsi" or "echo 'scsi remove-single-device 0 1 2 3' > /proc/scsi/scsi" with "0 1 2 3" replaced by the Host, Channel, Id, and Lun.NOTEthis seems to be aimed at parallel SCSI. Most modern busses (USB, SATA, Firewire, Fibre Channel, etc) dynamically assign these values to provide a unique identifier and nothing more.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PROC_SCSI_WRITE(9)
Related Man Pages |
---|
mpt(4) - netbsd |
fc_remote_port_add(9) - suse |
uk(4) - netbsd |
scsi_get_device_type_scsi_options(9f) - sunos |
tapset::scsi(3stap) - debian |
Similar Topics in the Unix Linux Community |
---|
How to restrict user to a specific directory in solaris 10 |
Is UNIX an open source OS ? |
Getting command output to putty window title. |
Migrating to UNIX |
Shopt -s histappend |