Skip to content

Commit 6e11329

Browse files
authored
Update chromefy.sh
Removing the dd operation to avoid long runs. It's not needed now with mk2fs rearranging the blocks
1 parent 5720e17 commit 6e11329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chromefy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ if [ "$choice" = true ]; then
129129
#Recreates the third partition with the remaining space
130130
echo -e 'n\n3\n'"$START_NEWA"'\n'"$END_NEWA"'\nw' | flock "$chromium_image" fdisk "$chromium_image"
131131
flock "$chromium_image" hdparm -z "$chromium_image"
132-
flock "$chromium_image" dd bs=512 count=`expr $END_NEWA + 1 - $START_NEWA` if=/dev/zero of="$PART_A"
132+
# flock "$chromium_image" dd bs=512 count=`expr $END_NEWA + 1 - $START_NEWA` if=/dev/zero of="$PART_A"
133133
flock "$chromium_image" yes | mke2fs -S "$PART_A"
134134
flock "$chromium_image" e2fsck -y -v -C 0 "$PART_A"
135135
flock "$chromium_image" resize2fs "$PART_A"

0 commit comments

Comments
 (0)