]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: blacklist cdrom/tapes as target.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 29 Oct 2012 10:16:57 +0000 (11:16 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 29 Oct 2012 10:16:57 +0000 (11:16 +0100)
src/install+setup/install/mountdest.sh

index 749d4fa5e8df8ee10280eae4d7f07dcb1756d031..776962a2893da0a5a182a5792a2ca71749f6b36d 100644 (file)
@@ -72,6 +72,10 @@ for path in /sys/block/*; do
                fd*)
                        continue
                        ;;
+               # Cd/Tape.
+               sr*)
+                       continue
+                       ;;
        esac
 
        # Replace any exclamation marks (e.g. cciss!c0d0).