[systemd-devel] remote-fs ordering, iSCSI and _netdev

Karel Zak kzak at redhat.com
Fri Nov 7 00:42:21 PST 2014


On Thu, Nov 06, 2014 at 09:10:51PM -0800, Chris Leech wrote:
> >  Not sure, maybe it's possible to detect this by scsi info in /sys.
> 
> I took a look at what lsscsi is doing to guess at transport type.  iSCSI
> is kind of ugly, FCoE is really ugly, and for both of those there exists
> a variety of drivers with varying levels of dependence on the networking
> layer.  It would be nice to work on getting some of the more common
> works working automatically, but _netdev seems like a nice failsafe.

BTW, in lsblk(8) we have TRANS column (lsblk -S, function get_transport()) 
to report scsi transport type and it uses /sys, but I have no clue how 
reliable it's.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list