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 <k...@redhat.com> http://karelzak.blogspot.com _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel