Unnamed-fields format example #1719
Answered
by
karelzak
f380cedric
asked this question in
Q&A
-
On line util-linux/disk-utils/sfdisk.8.adoc Line 423 in 224410d shouln't this be *echo -e ',10M,L\n,10M,L\n,+,\n' | sfdisk /dev/sdc*:: ? Or even without + ? BTW, does an empty line work (*echo -e ',10M,L\n,10M,L\n\n' | sfdisk /dev/sdc*:: )?
|
Beta Was this translation helpful? Give feedback.
Answered by
karelzak
Jun 16, 2022
Replies: 1 comment 2 replies
-
Yes, good catch. ",,+" is nonsense, "+" is there to address all available space (size)., so it should be ",+,\n" (as you have in your example). The empty line is silently ignored, it just repeats a prompt like a normal shell. It's probably the best we can do to make it user-friendly ;-) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
f380cedric
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, good catch. ",,+" is nonsense, "+" is there to address all available space (size)., so it should be ",+,\n" (as you have in your example).
The empty line is silently ignored, it just repeats a prompt like a normal shell. It's probably the best we can do to make it user-friendly ;-)