usb: gadget: f_mass_storage: forced_eject attribute
[linux-2.6-block.git] / Documentation / usb / gadget-testing.rst
index 1c37159fa17104439f198d2b07d35aba0627c14a..2278c9ffb74a7019d0fb262fbc4368cca016c964 100644 (file)
@@ -333,6 +333,12 @@ In each lun directory there are the following attribute files:
                        being a CD-ROM.
        nofua           Flag specifying that FUA flag
                        in SCSI WRITE(10,12)
+       forced_eject    This write-only file is useful only when
+                       the function is active. It causes the backing
+                       file to be forcibly detached from the LUN,
+                       regardless of whether the host has allowed it.
+                       Any non-zero number of bytes written will
+                       result in ejection.
        =============== ==============================================
 
 Testing the MASS STORAGE function