Lennart Poettering on Nostr: Well, one device in particular: /dev/urandom. Or in other words: you can now do ...
Well, one device in particular: /dev/urandom. Or in other words: you can now do CopyBlocks=/dev/urandom to initialize a partition with entirely random data, which is sometimes useful to systematically overwrite any previous contents it might have had.
Note that whenever systemd-repart initializes a partition it will anyway use the DISCARD hardware operation first to empty it, and it also ensures that any remaining super blocks from an older fs are erased no matter what.
Published at
2024-12-12 09:40:32Event JSON
{
"id": "13c1075deafe7693978771ec6ea76d84858631e7928ade01ed214ea3d391e5a4",
"pubkey": "1d95c32d9a9d95a54f98eb2eaa156f3d3a71dc49eca2c960b2b89962758f1cc0",
"created_at": 1733996432,
"kind": 1,
"tags": [
[
"e",
"eca4b24cc5e8dfa06c9c7ebacce7751eccbfe2db3283682ebd94aeec1ed7c6c4",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/pid_eins/statuses/113639190184109784",
"activitypub"
]
],
"content": "Well, one device in particular: /dev/urandom. Or in other words: you can now do CopyBlocks=/dev/urandom to initialize a partition with entirely random data, which is sometimes useful to systematically overwrite any previous contents it might have had.\n\nNote that whenever systemd-repart initializes a partition it will anyway use the DISCARD hardware operation first to empty it, and it also ensures that any remaining super blocks from an older fs are erased no matter what.",
"sig": "83c257747899dec7582f3af5dffa6f705b84f4d907301abb97189cfeb7d00eab379ddfb31be81adc5e45c263b9c9a61a12fdca5208da2a46d976067cf04e68be"
}