Skip to content

Commit

Permalink
We don't black list storage devices any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tails developers authored and daniel-baumann committed Apr 5, 2012
1 parent b78990c commit ad772f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -1013,7 +1013,7 @@ setup_unionfs ()
local home_snapshot_label=""
local root_overlay_label=""
local overlay_devices=""
for media in $(find_persistent_media "${overlays}" "${snapshots}" "${blacklistdev}" "${whitelistdev}")
for media in $(find_persistent_media "${overlays}" "${snapshots}" "${whitelistdev}")
do
media="$(echo ${media} | tr ":" " ")"
case ${media} in
Expand Down
5 changes: 2 additions & 3 deletions scripts/live-helpers
Expand Up @@ -857,11 +857,10 @@ find_persistent_media ()

local overlays="${1}"
local snapshots="${2}"
local black_listed_devices="${3}"
local white_listed_devices="${4}"
local white_listed_devices="${3}"
local ret=""

for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
for dev in $(storage_devices "" "${white_listed_devices}")
do
local result=""

Expand Down

0 comments on commit ad772f2

Please sign in to comment.