Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47432 - /branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Sun, 11 May 2008 19:48:37 -0000
  • Message-id: <20080511194837.94F312705F@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Sun May 11 21:48:37 2008
New Revision: 47432

URL: http://svn.opensuse.org/viewcvs/yast?rev=47432&view=rev
Log:
- show device path/id

Modified:
branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp

Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp?rev=47432&r1=47431&r2=47432&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-unused.ycp Sun
May 11 21:48:37 2008
@@ -37,7 +37,12 @@
}
}

- list<symbol> fields = StorageFields::Filter([ `device, `size, `format,
`type ]);
+ list<symbol> fields = StorageFields::Filter([ `device, `udev_path,
`udev_id, `size, `type ]);
+
+ if (preferred_displayname != `path)
+ fields = filter(symbol field, fields, { return field != `udev_path;
});
+ if (preferred_displayname != `id)
+ fields = filter(symbol field, fields, { return field != `udev_id;
});

map<string, map> target_map = Storage::GetTargetMap();


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages