[arch-projects] [PATCH 10/10] dev: create pts and shm directories

Dave Reisner d at falconindy.com
Wed Mar 30 14:54:30 EDT 2011


On Wed, Mar 30, 2011 at 08:01:31PM +0200, Tom Gundersen wrote:
> Creates the mountpoints for the standard api filesystems in /etc/fstab.
> 
> At the moment this is already done by /lib/udev/devices in our udev
> package. However, with this change it is possible to boot a fully
> working system with the udev unaltered from upstream.
> 
> For the future, this patch allows us to get rid of the /lib/udev/devices
> directory from the udev package alltogether.
> 
> Signed-off-by: Tom Gundersen <teg at jklm.no>
> ---
>  rc.sysinit |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/rc.sysinit b/rc.sysinit
> index e3cd57e..59995c5 100755
> --- a/rc.sysinit
> +++ b/rc.sysinit
> @@ -275,6 +275,9 @@ if [[ -x /sbin/fsck ]]; then
>  	stat_done
>  fi
>  
> +/bin/mkdir -p /dev/pts
> +/bin/mkdir -p /dev/shm
> +
>  stat_busy "Mounting Local Filesystems"
>  /bin/mount -n -o remount,rw /
>  
> -- 
> 1.7.4.2
> 

/bin/mkdir -p /dev/{pts,shm}

+1 for being able to use vanilla upstream packages.

/eyeballs /lib/udev/load-modules.sh

dave


More information about the arch-projects mailing list