Can you create a partition in a usb disk using fdisk command in a single line.
fdisk command is interactive in nature, But I want to automate partition creation in a single line using fdisk command.
|
feedback
|
|
| |||
|
feedback
|
|
Use sfdisk instead. The sfdisk man page is a little confusing, here's some specific examples of how to automate partition setup with sfdisk. One example is you can save the partition info from one drive via | ||||
|
feedback
|