[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1511811323.2993.13.camel@wdc.com>
Date: Mon, 27 Nov 2017 19:35:25 +0000
From: Bart Van Assche <Bart.VanAssche@....com>
To: "beanhuo@...ron.com" <beanhuo@...ron.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
CC: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"vinholikatti@...il.com" <vinholikatti@...il.com>
Subject: Re: UFS utilities
On Mon, 2017-11-27 at 11:25 +0000, Bean Huo (beanhuo) wrote:
> Is there someone knows if exists one utilis dedicated to UFS device,
> rather than SCSI utils? I have tried sg3-utils, but it is not convenient
> for the embedded ARM-based system.
Hello Bean,
Please be more specific. What is inconvenient about sg3_utils on embedded
ARM systems?
> And also it doesn't support several UFS special command.
Are you referring to SCSI commands or rather to UFS commands that fall
outside the SCSI spec? Anyway, an approach that is used by many SCSI drivers
to export information to user space that falls outside the SCSI spec is to
create additional sysfs attributes. See also the sdev_attrs and shost_attrs
members of struct scsi_host_template.
Bart.
Powered by blists - more mailing lists