Hello Danny Travis, I am assuming you are using generic Samba 2.2.3a version. We came across the problem and you can fix it by setting the cache variable on the devnm() system cal to 1. Just set the last parameter to the devnm() call in smbd/quotas.c to 1. ################################### # ./samba2.2/source/smbd/quotas.c # ################################### 912a913,919> #ifdef HPUX > /* Need to set the cache flag to 1 for HPUX. Seems > * to have a significant performance boost when > * lstat calls on /dev access this function. > */ > (devnm(S_IFBLK, S.st_dev, dev_disk, 256, 1)<0)) return (False); > #else913a921> #endifThanks, Ranjit @ HP CIFS Team
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 7 Jan 2003, P Ranjit Kumar wrote:> Hello Danny Travis, > > I am assuming you are using generic Samba 2.2.3a version. We came across the > problem and you can fix it by setting the cache variable on the devnm() > system cal to 1. > > Just set the last parameter to the devnm() call in smbd/quotas.c to 1.fyi...I'm adding this into all Samba branches. Thanks. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+KFJYIR7qMdg1EfYRAiTRAKDl7MTAa/hBdyCWohslfHCXV01WFgCglhcl 01OgdH6PMY4drmO8MKkWKZs=6Vgx -----END PGP SIGNATURE-----