View Single Post
  #3   (View Single Post)  
Old 15th May 2008
hamba hamba is offline
Fdisk Soldier
 
Join Date: Apr 2008
Posts: 71
Default

Got it working but its not perfect

I had to mount mount devfs to /home/user/dev
Code:
mount -t devfs dev /home/user/dev
There is a small rc script but its not creating the devfs properly
here are the step that should work but doesn't
Code:
make_devfs() {
    # $1 is the user name whose home directory needs a minimal
    # devfs created. If ~/dev exists, it will be deleted.

    eval DEV="~$1/dev"
    while /sbin/umount "${DEV}" 2>/dev/null; do :; done
    /bin/rm -rf "${DEV}"
    /bin/mkdir -p "${DEV}"
    if /sbin/mount -t devfs dev "${DEV}"; then
        /sbin/devfs -m "${DEV}" rule -s 1 applyset && \
        /sbin/devfs -m "${DEV}" rule -s 2 applyset || \
        /sbin/umount "${DEV}" 2>/dev/null
    fi
}
I'm getting these errors
Code:
devfs -m dev rule -s 1 applyset
devfs rule: ioctl DEVFSIO_SAPPLY: No such process
I'll contact the port maintainer and see if he can hep
Reply With Quote