2013-07-18 19:35:56

by Andi Shyti

[permalink] [raw]
Subject: [PATCH] u8500_defconfig: allow creation and mounting of devtmpfs

This patch enables CONFIG_DETTMPFS and CONFIG_DEVTMPFS_MOUNT
flags for u8500 based devices.

In this way it's possible to create a tmpfs/ramfs already in the
early stages of the boot, allowing programs like udev/mdev to
populate the /dev directory.

Signed-off-by: Andi Shyti <[email protected]>
---
arch/arm/configs/u8500_defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig
index a0025dc..0675d6a 100644
--- a/arch/arm/configs/u8500_defconfig
+++ b/arch/arm/configs/u8500_defconfig
@@ -109,6 +109,8 @@ CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
CONFIG_VFAT_FS=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
# CONFIG_MISC_FILESYSTEMS is not set
--
1.8.3.2


2013-08-16 09:35:16

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] u8500_defconfig: allow creation and mounting of devtmpfs

On Thu, Jul 18, 2013 at 9:35 PM, Andi Shyti <[email protected]> wrote:

> This patch enables CONFIG_DETTMPFS and CONFIG_DEVTMPFS_MOUNT
> flags for u8500 based devices.
>
> In this way it's possible to create a tmpfs/ramfs already in the
> early stages of the boot, allowing programs like udev/mdev to
> populate the /dev directory.
>
> Signed-off-by: Andi Shyti <[email protected]>

Patch applied.

Yours,
Linus Walleij