On 03/12/2012 07:51 AM, Joey Hess wrote:
Floris Bos / Maxnet wrote:
In addition to that, it would also be nice if the "-E discard"
option is passed to mkfs.ext4, so that it TRIMs the entire disk
partition prior to creating the file system structures.
-E discard is the default, according to mkfs.ext4(8)
Not the most clear man page...
On the (Ubuntu) version I have on my desktop, it also says nodiscard is
the default?!
==
discard
Attempt to discard blocks at mkfs time (discarding blocks initially is
useful on solid
state devices and sparse / thin-provisioned storage). When the device
advertises that dis‐
card also zeroes data (any subsequent read after the discard and before
write returns
zero), then mark all not-yet-zeroed inode tables as zeroed. This
significantly speeds up
filesystem initialization. This is set as default.
nodiscard
Do not attempt to discard blocks at mkfs time. This is the default.
==
--
Yours sincerely,
Floris Bos
--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f5d9ead.1040...@je-eigen-domein.nl