diff options
| author | Tails developers <amnesia@boum.org> | 2010-11-01 18:23:05 +0100 |
|---|---|---|
| committer | Tails developers <amnesia@boum.org> | 2011-09-07 14:53:41 +0200 |
| commit | 3f02456e392ead3abf36bc181692fcb75c8f16f3 (patch) | |
| tree | 46f6f223f2846b9fba18e905fa44b7d6e8fdae93 /debian | |
| parent | 209828c38d8af6fa2eab68cd668ca9109261f249 (diff) | |
| download | live-boot-3f02456e392ead3abf36bc181692fcb75c8f16f3.tar.gz live-boot-3f02456e392ead3abf36bc181692fcb75c8f16f3.zip | |
Factorizing loops on removable/non-removable devices.
The already duplicated code will be needed a few more times for the upcoming
persistent-media={removable,removable-usb} boot option. Copy/pasting it a few
more times seems the wrong way to go, hence this factorization.
Depending on the place they are used, the newly introduced functions must return
a list of devices named either /sys/block/* or /dev/*. Their first parameter
therefore specifies the wanted output format (default is /dev/* as it is the
most often used).
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions
