From: Lukas Czerner Subject: Re: Feature request: e2fsck -z Date: Wed, 10 Aug 2011 13:01:10 +0200 (CEST) Message-ID: References: <4E4173D4.9010104@zytor.com> <4E422686.8080207@gmail.com> <4420E0D8-5E16-4FD0-A7A9-B462F02D742D@dilger.ca> <4E423FD0.40108@gmail.com> <82k4ala62o.fsf@mid.bfk.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Lukas Czerner , Ric Wheeler , Andreas Dilger , "H. Peter Anvin" , linux-ext4@vger.kernel.org To: Florian Weimer Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30631 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752445Ab1HJLBR (ORCPT ); Wed, 10 Aug 2011 07:01:17 -0400 In-Reply-To: <82k4ala62o.fsf@mid.bfk.de> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Wed, 10 Aug 2011, Florian Weimer wrote: > * Lukas Czerner: > > > You're right. It is a part of e2fsck and you can enable it with -E > > discard. > > If the block device does not support TRIM, does this result in zeros > being written instead? > Of course not, discard works only on devices which does support it. If the device does not support discard it will to nothing. Thanks! -Lukas