From patchwork Fri Mar 13 10:50:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 449911 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 7B048140146 for ; Fri, 13 Mar 2015 21:50:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=sOFDr72d; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 36ECD958B5; Fri, 13 Mar 2015 10:50:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iEFPgZ2T5fn2; Fri, 13 Mar 2015 10:50:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 880E4958DD; Fri, 13 Mar 2015 10:50:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E47C31BFA63 for ; Fri, 13 Mar 2015 10:50:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E169D33AA8 for ; Fri, 13 Mar 2015 10:50:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7pjhW0TPY-2a for ; Fri, 13 Mar 2015 10:50:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by silver.osuosl.org (Postfix) with ESMTPS id 084CA33A92 for ; Fri, 13 Mar 2015 10:50:28 +0000 (UTC) Received: by wghk14 with SMTP id k14so22385651wgh.3 for ; Fri, 13 Mar 2015 03:50:26 -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:in-reply-to:references; bh=WFCQTME7PZ7WSzaAUMYkqWvd2GQqGZzJeyVqSWNMOiU=; b=sOFDr72dOy3+u35dHaDxieKEEZtq8dMsVw608CPEyS5p++ktJSS5jqkV3TVMYVpxfJ 1OaLJJtTzyIw2gDu3Rg3h2jBvGFx/GwcJC+++b8JNyATsxWddyUpe5dcthM7K1Nu3v7q CK+ldsko2ELhfn32Hrv4wVDMscHwGk4QybPhgNDM5v4YvcOLRS/bZckS4NtIe9ycSkFv WiDlZNCXm/TsDhVQRNM3878OhYbRRVfnGN0Vw8bZnl8esBysRAgFhxz54EyZQSII1p0C b0aB5Xwd1VgV9czatKZYFRtIWP0Df6K/8dkNmrDNfOM72f8q3p2PF++1DWwVBimGWXlz qFPg== X-Received: by 10.181.13.148 with SMTP id ey20mr95096533wid.18.1426243826790; Fri, 13 Mar 2015 03:50:26 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.100]) by mx.google.com with ESMTPSA id w8sm2295110wja.4.2015.03.13.03.50.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Mar 2015 03:50:26 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.net Date: Fri, 13 Mar 2015 11:50:05 +0100 Message-Id: <1426243805-8317-3-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426243805-8317-1-git-send-email-angelo.compagnucci@gmail.com> References: <1426243805-8317-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH 2/2] docs/manual: documentation for recursive makedevs syntax X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds the necessary documentation for the new makedevs recursive syntax. Signed-off-by: Angelo Compagnucci --- docs/manual/makedev-syntax.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/manual/makedev-syntax.txt b/docs/manual/makedev-syntax.txt index e02b79d..afb4ae2 100644 --- a/docs/manual/makedev-syntax.txt +++ b/docs/manual/makedev-syntax.txt @@ -24,6 +24,7 @@ There are a few non-trivial blocks: - +type+ is the type of the file, being one of: * f: a regular file * d: a directory + * r: a directory recursively * c: a character device file * b: a block device file * p: a named pipe @@ -38,7 +39,14 @@ Let's say you want to change the permissions of a given file; using this syntax, you will need to put: ---- -/usr/bin/foobar f 644 0 0 - - - - - +/usr/bin/foobar f 644 0 0 - - - - - +---- + +Alternatively, if you want to change owner/permission of a folder +recursively, you can put: + +---- +/usr/share/myapp r 750 myuser myuser - - - - - ---- On the other hand, if you want to create the device file +/dev/hda+