Subject: Re: vipw creating homes
To: Greywolf <firstname.lastname@example.org>
From: Emmanuel Dreyfus <email@example.com>
Date: 03/06/2001 22:44:00
> It probably won't scale too well; if you have a passwd database with,
> say, 40,000 users already, the first time you run 'vipw -h', it's going
> to have to go out and stat 40,000 paths. Don't know if you've noted, but
> namei() is probably one of the more expensive filesystem operations :-).
Well, you do not _have_ to use the -h flag, it's just an option ;o)
But we could improve the thing by keeping track of the added users
during the vipw session, and create only the revelant directories. But
with 40,000 users, that will eat a lot of memory.
Pas de processeur Intel, pas de logiciels Microsoft:
Des programmes sains dans un ordinateur sain.