From owner-freebsd-questions@FreeBSD.ORG Thu May 12 07:33:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9299116A4CE for ; Thu, 12 May 2005 07:33:07 +0000 (GMT) Received: from ds9.atempo.com (ds9.atempo.com [212.157.146.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B9AD43D46 for ; Thu, 12 May 2005 07:33:06 +0000 (GMT) (envelope-from herve.kergourlay@atempo.com) Received: from ds9.atempo.com (localhost.localdomain [127.0.0.1]) by localhost.atempo.com (Postfix) with ESMTP id 19F1C2FD09 for ; Thu, 12 May 2005 09:33:04 +0200 (CEST) Received: from atempo.com (unknown [172.16.15.140])by ds9.atempo.com (Postfix) with ESMTP id 0D6912FD06for ; Thu, 12 May 2005 09:33:04 +0200 (CEST) Received: from [192.168.2.108] (aragorn.vannes.quadratec.fr [192.168.2.108])by atempo.com (Postfix) with ESMTP id B2BC81E3310; Thu, 12 May 2005 09:33:03 +0200 (CEST) Message-ID: <428306AF.1080108@atempo.com> Date: Thu, 12 May 2005 09:33:03 +0200 From: =?ISO-8859-1?Q?Herv=E9_Kergourlay?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: questions@FreeBSD.org X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary=------------090108030706020205090502 X-imss-version: 2.025 X-imss-result: Passed X-imss-approveListMatch: *@atempo.com X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 07:33:07 -0000 This is a multi-part message in MIME format. --------------090108030706020205090502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit we are porting our product on FreeBSD 5.3 it's a backup product which is still running on FreeBSD 4.0 here's a list of questions after checking the documentation 1) PAM it's working, the only problem is with the null password users, the answer is allways NO. the nullok doesn't seem active here is my PAM file auth required /usr/lib/pam_unix.so nullok account required /usr/lib/pam_unix.so nullok 2) ACLs I'm using the API acl_get_file and family with success with ACL_TYPE_ACCESS defined in /usr/include/sys/acl.h #define ACL_TYPE_ACCESS 0x00000000 #define ACL_TYPE_DEFAULT 0x00000001 #define ACL_TYPE_AFS 0x00000002 #define ACL_TYPE_CODA 0x00000003 #define ACL_TYPE_NTFS 0x00000004 #define ACL_TYPE_NWFS 0x00000005 but what about the other defines, specially ACL_TYPE_DEFAULT, are there used. I didn't find who in the documentation 3) Extended attributes are Acls part of these attributes or not ? do we have to backup theses attributes with the Acls ? 4) wait() API 2 problems, the first is a ECHILD error on a wait call after a fork fork The code is generic for most of unix system. Is there any specific problems to manage the fork and wait APIs ? the second problem with calls is a blocking wait() call in the same condition but this time the son process is finished but the wait call in the father stays blocked, again it's a generic Unix code If there is no evidence, ask me for more informations 5) where are generated the core files ? I change the kernel with the following command sysctl kern.corefile="/cores/%U/%P%N.core" 6) 2 last questions :-) what about files more than 4GB, do I need to use specific APIs as open64, stat64 or the current open and stat API are managing the big file ? I'm searching information on the implementation of Unicode (utf8?) in our file systems, UFS1, UFS2, ext2fs thanks by advanced for all hervé --------------090108030706020205090502--