# ---------------------------------------------------------------------------- menu "populate rootfs " # ---------------------------------------------------------------------------- config ROOTFS bool prompt "Create Directories in /" default y select BB_CONFIG_FEATURE_SHADOWPASSWDS if BUSYBOX help In order to support a standard root filesystem some subdirectories are mandatory. They will be created by ptxdist automatically. Some other directories are may be required on demand. This menu entry here gives you the ability to create them. config ROOTFS_DEV depends on ROOTFS bool prompt "/dev" default y help This directory contains system's device nodes. This is a common location and name. For example udev depends on the existance of this directory config ROOTFS_DEV_INITIAL depends on ROOTFS_DEV bool prompt "create initial device nodes" default y help install /dev/null, /dev/zero and /dev/console device nodes. udev needs at least these nodes to startup. If you use udev say yes here config ROOTFS_HOME depends on ROOTFS bool prompt "/home" default y help home/ is a common location to store users private data. As ptxdist does not support users out of the box, its up to yourself to create additional subdirectories here and also provide the permission info. # Media Mountpoints menuconfig ROOTFS_MEDIA depends on ROOTFS bool prompt "/media " config ROOTFS_MEDIA1 prompt "Mountpoint 1" string depends on ROOTFS_MEDIA help This string defines a mountpoint directory in /media config ROOTFS_MEDIA2 prompt "Mountpoint 2" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA1!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA3 prompt "Mountpoint 3" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA2!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA4 prompt "Mountpoint 4" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA3!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA5 prompt "Mountpoint 5" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA4!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA6 prompt "Mountpoint 6" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA5!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA7 prompt "Mountpoint 7" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA6!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA8 prompt "Mountpoint 8" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA7!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA9 prompt "Mountpoint 9" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA8!="" help This string defines a mountpoint directory in /media config ROOTFS_MEDIA10 prompt "Mountpoint 10" string depends on ROOTFS_MEDIA && ROOTFS_MEDIA9!="" help This string defines a mountpoint directory in /media # ok, that's all for /media. config ROOTFS_MNT depends on ROOTFS bool prompt "/mnt" default y help This is a common directory to temporarely mount external media. Its always a good idea to select this entry. config ROOTFS_PROC depends on ROOTFS bool prompt "/proc" default y help Create a /proc directory in the root filesystem. You should say yes here. config ROOTFS_SYS depends on ROOTFS bool prompt "/sys" default y help Create a /sys directory in the root filesystem. 2.6 kernel users should say yes here. config ROOTFS_TMP depends on ROOTFS bool prompt "/tmp" default y help Create a /tmp directory in the root filesystem. You should say yes here. config ROOTFS_VAR depends on ROOTFS bool prompt "/var" default y help Create a /var directory in the root filesystem. You should say yes here. config ROOTFS_VAR_RUN depends on ROOTFS_VAR bool prompt "/var/run" default y help Create a /var/run directory in the root filesystem. Unless you want to mount a tmpfs on /var you should say yes here. config ROOTFS_VAR_LOG depends on ROOTFS_VAR bool prompt "/var/log" default y help Create a /var/log directory in the root filesystem. Unless you want to mount a tmpfs on /var you should say yes here. config ROOTFS_VAR_LOCK depends on ROOTFS_VAR bool prompt "/var/lock" default y help Create a /var/lock directory in the root filesystem. Unless you want to mount a tmpfs on /var you should say yes here. config ROOTFS_VAR_LIB depends on ROOTFS_VAR bool prompt "/var/lib" default n help Create a /var/lib directory in the root filesystem. Unless you want to mount a tmpfs on /var you should say yes here. If you are going to run an NFS server with file locking support this folder must be persistent! # ---------------------------------------------------------------------------- endmenu