- log off ALL the users.
- Go to a console (for ex Alt-Ctrl-F1)
- login as root
-> login is very fast. OK
- log off this root user.
- log in as a standard user
--> the login takes between 3 and 5 seconds.
I have straced the login process, and made some very basic profiling on it.
(wrote something in the file every second)
And I have discovered that there is a lstat on EVERY file in /dev during the login.
This does not occur when devfs is not mounted (in lilo.conf).
Please see the strace in enclosure.
login.strace.bz2
Description: Binary data