From patchwork Fri Jun 10 09:37:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: olivier.hardouin@gmail.com X-Patchwork-Id: 633600 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rQxtV3nT9z9s9r for ; Fri, 10 Jun 2016 19:38:10 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=JltVNt4V; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E79A2B92556; Fri, 10 Jun 2016 11:38:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Fri, 10 Jun 2016 11:38:02 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id DB615B92551 for ; Fri, 10 Jun 2016 11:38:01 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 10 Jun 2016 11:38:01 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id k184so16495021wme.2 for ; Fri, 10 Jun 2016 02:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2lh0ajLJFpkF8DBY2rRt/4gaNyuGtk3DgWW+fM4oZCE=; b=JltVNt4VKZ0zvDuWAvcUS0mUdNEvDpNXjcmiyQKrBOq7hEbnLiNeYZTDPrJIDCp2B/ a3v7+t/xzK1mJfTpm+BS4BNCJXGfI0KEn221zKHgBwrWUX3qC6VoEDm/Yd+LJdOG0bl/ KhBL8wZUHtPgpFa5K+3rEL1+XEA+u2Zu9tuokPFKbDhGsd2HUTd35jjAcyEeEUv0Or1r H8RSBMydc/sLBA8Cpvoc0qfIV9y7vcetAfQXFo94rvvkX2Om6LTu6iqW5ecgNEQRoFxT x3+Mi38ON3KX9CNQc1Gqdl9GthmDRsHE8YavnRVxuqEnNNo1BgFk+7Z3NfS8ZuNQJxWo JwGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2lh0ajLJFpkF8DBY2rRt/4gaNyuGtk3DgWW+fM4oZCE=; b=I5L4ugBoXbH2kvFeJ37quKJx7bfK2vTptPLuMiqffCN7PKPLAtZabVLMwQC9yVzKEW rx6nug8TaYjxXE6s7gqvEfJSVavGNuoe414VF7rh74MDfzTUloKK4cBA8KLWV56lFYKq AGZC5gLvO625vjjeiuUSbUtTzX5V2I9Lfvg+PRebg3N5SG0gHTb+yjYZHV5cZFA2bft1 b1EMYKPIpVBSeXotoqpyfgaUb9TceFlwpl3zdaEu5a/C3/Hr6oRbR1KqN/V+qD3XsJGj 80E/qSvbWMBjoCbAhdYo//Z2GS5xlhFdFcpLb3ILv5xvvdhBVP1wnrBHCbjmAxRi/diJ tOtQ== X-Gm-Message-State: ALyK8tJ0QNs7Ha5A7KhtHg9tzOImHQ9IFVyZqe6IrRfGI1pIYKXewXDWvwyFQdvt7StThg== X-Received: by 10.28.4.79 with SMTP id 76mr17889731wme.41.1465551480664; Fri, 10 Jun 2016 02:38:00 -0700 (PDT) Received: from ubuntu32bits.eu.thmulti.com ([91.183.48.131]) by smtp.gmail.com with ESMTPSA id d7sm34836444wmd.11.2016.06.10.02.37.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 02:38:00 -0700 (PDT) From: olivier.hardouin@gmail.com To: openwrt-devel@lists.openwrt.org, lede-dev@lists.infradead.org Date: Fri, 10 Jun 2016 11:37:44 +0200 Message-Id: <1465551464-8946-1-git-send-email-olivier.hardouin@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [OpenWrt-Devel] [PATCH package mountd] uci config for mountd fileystem options X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Olivier Hardouin --- package/system/mountd/files/mountd.config | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/package/system/mountd/files/mountd.config b/package/system/mountd/files/mountd.config index 5610129..c105606 100644 --- a/package/system/mountd/files/mountd.config +++ b/package/system/mountd/files/mountd.config @@ -1,3 +1,31 @@ config mountd mountd option timeout 60 option path /tmp/mounts/ + +config filesystem ext2 + option options 'rw,defaults' + option fstype 'ext2' + +config filesystem ext3 + option options 'rw,defaults' + option fstype 'ext3' + +config filesystem ext4 + option options 'rw,defaults' + option fstype 'ext4' + +config filesystem fat + option options 'rw,uid=1000,gid=1000' + option fstype 'vfat' + +config filesystem exfat + option options 'rw,uid=1000,gid=1000' + option fstype 'exfat' + +config filesystem hfsplus + option options 'rw,defaults,uid=1000,gid=1000' + option fstype 'hfsplus' + +config filesystem ntfs + option options 'force' + option fstype 'ntfs'