Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't present /dev/sr[0-9] drives for partitioning

  • Loading branch information...
commit 4705ea83e5316ab05e9fa6881bd8e449eec9047b 1 parent 426266d
George Vlahavas authored August 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  initrd-scripts/usr-lib-setup/SeTdisk
1  initrd-scripts/usr-lib-setup/SeTdisk
@@ -7,6 +7,7 @@ for dev in "$( cat /proc/partitions \
7 7
 	| grep -v 'name' \
8 8
 	| grep -v 'ram' \
9 9
 	| grep -v 'loop' \
  10
+	| grep -v 'sr[0-9]' \
10 11
 	| sed -e 's/^[ \t]*[0-9]*[ \t]*[0-9]*[ \t]*[0-9]*[ \t]*\(\([a-z]*\)[0-9]*[^0-9]*\|\([a-z\/]*[0-9]*[a-z]*[0-9]*\).*\)$/\2\3 disk \"\"/' | sort -u )" ; do
11 12
 
12 13
 	dglist="$dglist $dev"

0 notes on commit 4705ea8

Please sign in to comment.
Something went wrong with that request. Please try again.