Codebase list partman-partitioning / c11ff01
Disable resizing of Windows Vista NTFS partitions (NTFS version 3.1) as #379835 is unlikely to be solved before Etch r41408 Frans Pop 17 years ago
3 changed file(s) with 21 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
99
1010 check_virtual
1111
12 if [ "$virtual" = no -a -f $oldid/detected_filesystem ] && \
12 RET=""
13 if [ "$virtual" = no ] && [ -f $oldid/detected_filesystem ] && \
1314 [ "$(cat $oldid/detected_filesystem)" = ntfs ]; then
14 get_ntfs_resize_range
15 get_ntfs_resize_range || RET=$?
1516 else
1617 get_resize_range
1718 fi
1819
19 if [ -z "$maxsize" ]; then
20 if [ -z "$maxsize" ] || [ "$RET" ]; then
2021 db_input critical partman-partitioning/impossible_resize || true
2122 db_go || true
2223 exit 1
0 partman-partitioning (42) UNRELEASED; urgency=low
1
2 * Disable resizing of Windows Vista NTFS partitions (NTFS version 3.1)
3 as #379835 is unlikely to be solved before Etch.
4
5 -- Frans Pop <fjp@debian.org> Sun, 8 Oct 2006 12:40:48 +0200
6
07 partman-partitioning (41) unstable; urgency=low
18
29 * ntfstools-udeb has been renamed to ntfsprogs-udeb.
2929 ;;
3030 esac
3131 if [ -b $bdev ]; then
32 size=$(ntfsresize -f -i $bdev \
32 ntfsinfo="$(ntfsresize -f -i $bdev)"
33 if [ $? -ne 0 ]; then
34 log "Error running 'ntfsresize --info'"
35 return 1
36 fi
37 if cat "$ntfsinfo" | grep -q "NTFS volume version: 3.1"; then
38 log "Resizing of Vista NTFS partitions (version 3.1) not supported (#379835)"
39 return 1
40 fi
41 size=$(cat "$ntfsinfo" \
3342 | grep '^You might resize at' \
3443 | sed 's/^You might resize at \([0-9]*\) bytes.*/\1/' \
3544 | grep '^[0-9]*$')