Well, If you don't understand, then I sure don't :)
When I wrote 'temporary write through' to cache_type, and cat'd the file it read 'write through'

After 2 reboots and at least one power cycle on the ext HD cache_type still has 'write through'

dmesg shows this now:
... [sdb] Assuming drive cache: write through

when before it always had this:
... [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA


On 12/03/2015 11:30 AM, Alan Stern wrote:
On Thu, 3 Dec 2015, brad wrote:

It seems to be permanent?   After reboot I still have this and I can
mount the drive

dt1:cat /sys/block/sdb/device/scsi_disk/4\:0\:0\:0/cache_type
write through
I don't understand.  The change you make by writing to the sysfs file
is not permanent.  It will reset on every reboot and also every time
you unplug and replug the drive.

Alan Stern


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to