guran <[EMAIL PROTECTED]> writes:

[...]

> This is from /var/log/messages:
> 
> Aug 28 22:43:13 Archimedes init: Entering runlevel: 5
> Aug 28 22:43:13 Archimedes devfsd[46]: error calling: "unlink" in "GLOBAL"  
> <27>Aug 28 22:43:13 devfsd[46]: error calling: "unlink" in "GLOBAL"

root@leia:~>strace -o /tmp/d devfsd /dev
Started device management daemon for /dev
error calling: "symlink" in "GLOBAL"
error calling: "symlink" in "GLOBAL"

and you get:

lstat64("/dev/cdroms/cdrom0", {st_mode=S_IFLNK|0555, st_size=33, ...}) = 0
symlink("cdroms/cdrom0", "cdrom0")      = -1 EEXIST (File exists)
access("/dev", F_OK)                    = 0
access("/dev/cdroms", F_OK)             = 0
lstat64("/lib/dev-state/cdroms/cdrom0", 0xbfffe1e0) = -1 ENOENT (No such file or 
directory)
symlink("cdroms/cdrom0", "cdrom")       = -1 EEXIST (File exists)
write(2, "error calling: \"symlink\" in \"GLO"..., 37) = 37
symlink("/dev/cdroms/cdrom0", "/dev")   = -1 EEXIST (File exists)
write(2, "error calling: \"symlink\" in \"GLO"..., 37) = 37

the pb comes from:

REGISTER        ^cdroms/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom
REGISTER        ^cdroms/cdrom.  CFUNCTION GLOBAL symlink $devpath $mntpnt

which tries to create already existing symlinks.
but i don't know how it should be fixed, fredl should know...


Reply via email to