mirror of
https://github.com/systemd/systemd
synced 2024-10-03 06:45:12 +00:00
parent
197e77c527
commit
e53fcb0932
|
@ -2337,7 +2337,7 @@ static int context_load_partition_table(Context *context) {
|
|||
return log_error_errno(errno, "Failed to stat %s: %m", context->node);
|
||||
|
||||
if (IN_SET(arg_empty, EMPTY_REQUIRE, EMPTY_FORCE, EMPTY_CREATE) && S_ISREG(st.st_mode))
|
||||
/* Don't probe sector size from partition table if we are supposed to strat from an empty disk */
|
||||
/* Don't probe sector size from partition table if we are supposed to start from an empty disk */
|
||||
fs_secsz = ssz = 512;
|
||||
else {
|
||||
/* Auto-detect sector size if not specified. */
|
||||
|
|
Loading…
Reference in a new issue