On Sat, Aug 29, 2015 at 8:14 PM, ToddAndMargo <[log in to unmask]> wrote:
> I was looking for an easier way to tell if my write protect switches
> were in the read only position. There are other ways, like trying to
> mount it and see what happens, but I would like to get the information
> more directly.
Try querying the block device with udevadm(8).
udevadm info -a -n /dev/sdc
Brandon Vincent