Your IP : 216.73.216.170


Current Path : /proc/8644/root/lib64/udev/
Upload File :
Current File : //proc/8644/root/lib64/udev/create_static_nodes

#!/bin/sh -e

make_extra_nodes() {
  [ -e /etc/udev/links.conf ] || return 0

  grep '^[^#]' /etc/udev/links.conf | \
  while read type name arg1; do
    [ "$type" -a "$name" -a ! -e "/$1/$name" -a ! -L "/$1/$name" ] || continue
    case "$type" in
      L) ln -s $arg1 /$1/$name ;;
      D) mkdir -p /$1/$name ;;
      M) mknod -m 600 /$1/$name $arg1 ;;
      *) echo "links.conf: unparseable line ($type $name $arg1)" >&2 ;;
    esac

    if [ -x /sbin/restorecon ]; then
      /sbin/restorecon /dev/$name
    fi
  done
}

if [ "$1" ]; then
  devdir="$1"
else
  devdir='/dev'
fi

make_extra_nodes $devdir

exit 0



Warning: Unknown: open(/var/www/iplanru/data/bin-tmp/sess_b3e43857ae5edc3ab04e41da106eb362, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/iplanru/data/bin-tmp) in Unknown on line 0