From patchwork Sat Apr 11 13:40:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 460376 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 E6B9E1401AD for ; Sat, 11 Apr 2015 23:41:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=lsvpK/zx; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 09A819393C; Sat, 11 Apr 2015 13:41:03 +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 JtNdK9h4FooU; Sat, 11 Apr 2015 13:41:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 755079403F; Sat, 11 Apr 2015 13:41:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 58DD11BF978 for ; Sat, 11 Apr 2015 13:40:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 544AF93E1C for ; Sat, 11 Apr 2015 13:40:59 +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 fSNLXDh3kUBs for ; Sat, 11 Apr 2015 13:40:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by hemlock.osuosl.org (Postfix) with ESMTPS id 3680B9393C for ; Sat, 11 Apr 2015 13:40:56 +0000 (UTC) Received: by wizk4 with SMTP id k4so25081739wiz.1 for ; Sat, 11 Apr 2015 06:40:54 -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=FNXRlVQy71b3TRdcWEJZg1NDH8eWTVw/3Iio5YtvMV8=; b=lsvpK/zxHtLLCgboydDbMWehh5It0k5Wit1mUthdQryVMnnkHbksgi+4U2/EtBby06 FHQX9o2ZhachiUcxzkDg/U9/Fowi3yavFPvp9E7myVkkl9z4ty7GRjRVSsJdsEQPDahb kzchaHgq2tHmRc2KhKXC5qrMiJPL7nTFF8dfzpvWabBEkmKRTnBKswspth4Sgo40e/rL J4Y9H3Dmq8xw1SqZ3JNvBNsIgyYo/GKNz0WBVX+Q5LGszStn+Wz8yBB5Jf5EBEnWrfum thm9UZYpEpYM3xxRBFsj6Q6az8J6YglF/YeaPTEupjGsDFShx0vdd7B7m6JOd+9kwK8T dhhw== X-Received: by 10.181.11.129 with SMTP id ei1mr6026753wid.57.1428759654815; Sat, 11 Apr 2015 06:40:54 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by mx.google.com with ESMTPSA id ed14sm4134670wic.11.2015.04.11.06.40.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 Apr 2015 06:40:54 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.net Date: Sat, 11 Apr 2015 15:40:32 +0200 Message-Id: <1428759632-17060-3-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428759632-17060-1-git-send-email-angelo.compagnucci@gmail.com> References: <1428759632-17060-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH v2 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 documentation for the new makedevs recursive syntax. Signed-off-by: Angelo Compagnucci Reviewed-by: "Yann E. MORIN" --- 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+