OpenVZ Forum


Home » International » Russian » ENOTTY (Inappropriate ioctl for device) для программы less
Re: ENOTTY (Inappropriate ioctl for device) для программы less [message #30324 is a reply to message #29994] Wed, 21 May 2008 10:49 Go to previous message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
proverte vnutri VE permitions /dev/tty i /dev/tty1
Eto to sho imejetsya u menya s udev vnutri VE
drwxr-xr-x  5 root root  360 May  9 10:26 .
drwxr-xr-x 21 root root 4096 May  9 10:26 ..
drwxr-xr-x  6 root root  140 May  9 10:26 .udev
crw-r--r--  1 root root 5, 1 Feb  6 12:00 console
lrwxrwxrwx  1 root root   13 May  9 10:26 fd -> /proc/self/fd
prw-------  1 root root    0 May  9 10:26 initctl
srw-rw-rw-  1 root root    0 May  9 10:26 log
crwxrwxrwx  1 root root 1, 3 Feb  6 12:00 null
crw-rw-rw-  1 root tty  5, 2 May 21 13:43 ptmx
drwxr-xr-x  2 root root    0 May  9 10:26 pts
crw-r--r--  1 root root 1, 8 Feb  6 12:01 random
drwxrwxrwt  2 root root   40 May  9 10:26 shm
lrwxrwxrwx  1 root root    4 May  9 10:26 stderr -> fd/2
lrwxrwxrwx  1 root root    4 May  9 10:26 stdin -> fd/0
lrwxrwxrwx  1 root root    4 May  9 10:26 stdout -> fd/1
crw-rw-rw-  1 root tty  5, 0 Jan 31 01:33 tty
crw-r--r--  1 root root 4, 1 Feb  6 12:00 tty1
crw-r--r--  1 root root 1, 9 Feb  6 12:01 urandom


V /etc/rc.conf(baselayout-2) or /etc/conf.d/rc(baselayout-1)
RC_DEVICES="udev"
RC_DEVICE_TARBALL="yes"

A minimal devices.tar.bz2
# tar jtvf /vz/private/104/lib64/udev/state/devices.tar.bz2
crw-r--r-- 0/0             4,1 2008-02-06 12:00 tty1
crw-r--r-- 0/0             5,1 2008-02-06 12:00 console
crw-rw-rw- 0/5             5,0 2008-01-31 01:33 tty
crw-r--r-- 0/0             1,9 2008-02-06 12:01 urandom
crw-r--r-- 0/0             1,8 2008-02-06 12:01 random
crw-rw-rw- 0/0             1,3 2008-02-06 12:00 null

 
Read Message
Read Message
Previous Topic: cdrecord внутри VPS OpenVZ
Next Topic: vzquota stopped
Goto Forum:
  


Current Time: Wed Jul 17 08:06:04 GMT 2024

Total time taken to generate the page: 0.02794 seconds