summaryrefslogtreecommitdiff
path: root/flash-memory/section.tex
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-02-19 15:09:59 +0100
committerJohn Ogness <john.ogness@linutronix.de>2018-02-19 15:09:59 +0100
commit03775051c72b38d5ff14050d755d278c8c83125d (patch)
treece8c56e7b402c583cb37e744d3169a7656711ed1 /flash-memory/section.tex
parente0a9b373261726395e470ed596959eecb8f65ab8 (diff)
dd-multi.sh: change partitioning procedure
Initially write 10MB of 0's instead of 1MB to make sure any tables at the beginning are really gone. Rather than calling 'partprobe' with no arguments, explicitly pass the list of devices to re-read. 'fdisk' is used to create the 2nd (/home) partition. Do not do that in the background but instead synchronously for each device. Add a 'sync' afterwards to hopefully create a barrier before rescanning the devices. This is should address a problem where 'partprobe' is run too early and the kernel does not find the 2nd partition of the last device. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'flash-memory/section.tex')
0 files changed, 0 insertions, 0 deletions