From owner-freebsd-questions@freebsd.org Wed Jul 3 15:07:00 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 583F215D6C84 for ; Wed, 3 Jul 2019 15:07:00 +0000 (UTC) (envelope-from walterp@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 657B077828 for ; Wed, 3 Jul 2019 15:06:59 +0000 (UTC) (envelope-from walterp@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id e3so5177446ioc.12 for ; Wed, 03 Jul 2019 08:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JI+ThSChYHP2NwS++lzimOKhAIobtviyfSMiKOWVybU=; b=tl/eVxtDyUIAsgcBVSPTlQ65hWDYBwPx5iN42Q9fGNW8UViaFS23chQWSP86qKss1a Sv8V2h9sfjkSUxvLM886Kt+6VAiZr0F7x/DGu8/my5PAmbWtER/d+uY9XCLKGhqKEmm9 VL9H37a1bwArhL98lv6pBss1T12kMxTjzz6qSuIMQPMSpu5LKj2FLEJej32uZ7o9JjSQ kt3L1fUh8No/gc2ZCpIw9a9kyZJU0IH/eA6pTIn5VYBxsgI1DzBq1U4xd4t2bg6FJq49 OGFYArYzIwXBb/XYLjnMpnCCrlAKyQoFLObs5dqJ+noTifx3DeG6CFXOFUYBqzjU48Be 1Cdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JI+ThSChYHP2NwS++lzimOKhAIobtviyfSMiKOWVybU=; b=ZWKJSAYybXwX2A+CAn5HYX5Ho7gcB5hHfyQijw35+ogksiXZGjZyHlGcajTV3Uu+k/ VXhNyLqviczELfm+cEUUvfQXM+oXL+sMY+LEHXufsPHgMamYrBQV6iOEX9dpipL4rl/p 5LcNquVB/LcOM3tdgk0n0TMM7OvuoXvI9lTkFf6yDC5q9dg277BNZrq5moBgomBmykKk ydy7M2EUphA4W4Be9TJCAK3ONj2N9qdHbILBXQuIiz5nDydtb+wj4+9YCSCXlXyk35X4 TsA3fT6bXSVSSmi2lJOctaic02aUdasiTtyg0dC+LBQCzUXir4zrdjmrAinOUcapWbVG HCeA== X-Gm-Message-State: APjAAAV72SZfbivbfS77AfjUZeF+TJLSzLQK8PHGbJL+AxG4nbHxz8by UYWM/kPnkZPq7bt7jz8Im1tsX1B1/KreqApiwYIsNg== X-Google-Smtp-Source: APXvYqz+9PTANZiHd67WgnBk/+yAFNPk57G+e16AiPY8WwuWWIEbDrWbyRhy1Q1UqRtpGGsDJ6fLQZoA1q/rmknqkzs= X-Received: by 2002:a6b:bbc1:: with SMTP id l184mr8224589iof.232.1562166418591; Wed, 03 Jul 2019 08:06:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Walter Parker Date: Wed, 3 Jul 2019 10:06:47 -0500 Message-ID: Subject: Re: freebsd-questions Digest, Vol 786, Issue 3 To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 657B077828 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tl/eVxtD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of walterp@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=walterp@gmail.com X-Spamd-Result: default: False [-6.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[d.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.97)[ip: (-9.26), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.38), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 15:07:00 -0000 > > Message: 3 > Date: Tue, 2 Jul 2019 19:14:04 +0000 > From: Manish Jain > To: "freebsd-questions@freebsd.org" > Subject: Any chance for discard support with ext2 driver ? > Message-ID: > < > AM6PR03MB41350B75E208D1D4A4C03083F6F80@AM6PR03MB4135.eurprd03.prod.outlook.com > > > > Content-Type: text/plain; charset="utf-8" > > Hi, > > > I like to use ext2fs for my filesystems (other than the FreeBSD native > filesystems, which are always UFS). But one? problem I run into is that > FreeBSD does not yet support the discard mount option for ext2/3/4 > filesystems, affecting operational smoothness and efficiency. > > > Is there any chance that the FreeBSD kernel will sometime in the near > future support discard for ext2fs ? > > > > I just read the man page that had discard mount. That is a Linuxism. I think you are asking about TRIM support. As both native file systems already have TRIM support and the ext driver is ext2 and is mostly just used to move files from/to Linux, I have not seen any plans to add any of the ext4 features to the base OS. Unless you require the ability to read the file system from both Linux and FreeBSD, ext2 is a rather dated file system and should not be used in FreeBSD. Are there any plans to implement ext4 in FreeBSD? Would there be license issues (GPL2/GPL3)? Walter -- The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding. -- Justice Louis D. Brandeis