> > During and after an update from etch to lenny, installation procedure
> > for packages that need creating devices cannot create them. 
>
> Why is /dev/.static/dev/ read-only on your system?  Do you know?  
> 
> I've upgraded a number of systems from etch to lenny now without ever
> seeing this, so I have to assume there's something different about how
> our systems.
> 
> Bdale

Hi Bdale,

from the viewpoint of root, /dev/.static/dev/ is not read-only. However, 
MAKEDEV reports that it is read-only. Look here:
---------
# whoami
root
# ls -la /dev/.static/dev | head
total 136
drwxr-xr-x 17 root root       32768 Feb 23 20:25 .
drwx------  3 root root          60 Feb 25  2009 ..
lrwxrwxrwx  1 root root          13 Jan 12  2005 MAKEDEV -> /sbin/MAKEDEV
crw-rw----  1 root audio    14,  14 Dec 23  2005 admmidi0
crw-rw----  1 root audio    14,  30 Dec 23  2005 admmidi1
crw-rw----  1 root audio    14,  46 Dec 23  2005 admmidi2
crw-rw----  1 root audio    14,  62 Dec 23  2005 admmidi3
lrwxrwxrwx  1 root root           5 Dec 23  2005 adsp -> adsp0
crw-rw----  1 root audio    14,  12 Dec 23  2005 adsp0
---------
The allow-write-attribute is set on  "." for the root. Let's look at /etc/mtab:
/dev/hda2 / ext3 rw,noatime 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/hda6 /local ext3 rw,noatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0

The mode for /dev is 755, so I suppose that root can read, write and cd to 
/dev. Am I missing something?

Sasha.

------------------------------------------------------------
Photography School
Earn a degree or certificate in Photography. Click here.
http://tagline.excite.com/fc/FgElN1g44JgIMkktb5cdearq7hh5O2jt9HLk2N64Cnt0dIVYvPmJqi0VUR6/

Reply via email to