Lines Matching defs:raw
766 string raw = mappings->entries[i].targetDriver;
769 if (raw.length() <= 0) {
777 * we just hard-code ":n" for tapes, ":c,raw" for disks,
782 if ((raw.find("/st@") != raw.npos) ||
783 (raw.find("/tape@") != raw.npos)) {
784 raw += ":n";
785 } else if ((raw.find("/ssd@") != raw.npos) ||
786 (raw.find("/sd@") != raw.npos) ||
787 (raw.find("/disk@") != raw.npos)) {
788 raw += ":c,raw";
789 } else if ((raw.find("/ses@") != raw.npos) ||
790 (raw.find("/enclosure@") != raw.npos)) {
791 raw += ":0";
795 raw.c_str());
799 "/devices%s", raw.c_str());