Comment 2 for bug 1784454

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

13: if [ -f /sys/module/scsi_mod/parameters/scan ]; then
14: echo sync > /sys/module/scsi_mod/parameters/scan
15: fi

Not sure how come the file is there, yet "cannot be created" when we try to echo into it... maybe it's not writable or disappears.

I think the quickest botch that i can think of is:

   echo sync > /sys/module/scsi_mod/parameters/scan 2>/dev/null || :

to redirect errors to oblivion, and to ignore errors from this action....