зеркало из https://github.com/docker/docs.git
Fix option for fallocate command in volumes.md (#17934)
fallocate does not have -f option. the correct option for to add the length of file is -l.
This commit is contained in:
Родитель
fae09e6e6c
Коммит
7fa15e3ac4
|
@ -576,7 +576,7 @@ The filesystem support of your system depends on the version of the Linux kernel
|
|||
1. Create a file and allocate some space to it:
|
||||
|
||||
```console
|
||||
$ fallocate -f 1G disk.raw
|
||||
$ fallocate -l 1G disk.raw
|
||||
```
|
||||
|
||||
2. Build a filesystem onto the `disk.raw` file:
|
||||
|
|
Загрузка…
Ссылка в новой задаче