SCIENTIFIC-LINUX-USERS Archives

August 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Sat, 29 Aug 2015 21:45:45 -0700
Reply-To:
Brandon Vincent <[log in to unmask]>
Message-ID:
Subject:
From:
Brandon Vincent <[log in to unmask]>
Content-Type:
text/plain; charset="UTF-8"
In-Reply-To:
MIME-Version:
1.0
Comments:
Parts/Attachments:
text/plain (12 lines)
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

ATOM RSS1 RSS2