Skip to content

Use dd instead of fallocate#8391

Closed
benasocj wants to merge 1 commit intocertbot:masterfrom
benasocj:docs-use-dd
Closed

Use dd instead of fallocate#8391
benasocj wants to merge 1 commit intocertbot:masterfrom
benasocj:docs-use-dd

Conversation

@benasocj
Copy link
Copy Markdown

The swapon man page recommends not to use fallocate to create swap files but to use dd instead:

The swap file implementation in the kernel expects to be able to write to the file directly, without the assistance of the filesystem. This is a problem on preallocated files (e.g. fallocate(1)) on filesystems like XFS or ext4, and on copy-on-write filesystems like btrfs.

It is recommended to use dd(1) and /dev/zero to avoid holes on XFS and ext4.

@alexzorin alexzorin added area: certbot-auto area: documentation priority: unplanned Work that we believe should be done, but does not have a higher priority. labels Oct 22, 2020
@alexzorin
Copy link
Copy Markdown
Collaborator

Hi Benjamin,

We plan to completely deprecate certbot-auto by the end of the year. As such I don't think we're accepting any changes relating to it.

I will double-check whether we want to preserve this piece of documentation (along with your correction), but my first impression is that it doesn't apply to other installation methods.

@adferrand
Copy link
Copy Markdown
Collaborator

This may be still relevant with the alternate installation method that will be proposed soon, and that will certainly use pip in a way or another.

@bmw
Copy link
Copy Markdown
Member

bmw commented May 19, 2021

The instructions being modified here have been completely removed so I'm going to close this PR.

@bmw bmw closed this May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: certbot-auto area: documentation priority: unplanned Work that we believe should be done, but does not have a higher priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants