From owner-freebsd-stable@FreeBSD.ORG Fri Jun 22 12:30:05 2012 Return-Path: Delivered-To: Freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2729D106564A for ; Fri, 22 Jun 2012 12:30:05 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id 685938FC12 for ; Fri, 22 Jun 2012 12:30:04 +0000 (UTC) Received: (qmail 71881 invoked by uid 89); 22 Jun 2012 12:28:33 -0000 Received: from unknown (HELO ClayDesktop) (clay@milos.co.za@192.168.200.6) by lisa.milos.co.za with ESMTPA; 22 Jun 2012 12:28:33 -0000 From: "Clayton Milos" To: References: <2322BE6D-24A8-4F4A-84B2-4DFE33BCA65B@fisglobal.com> <4FE3EB9D.9070509@fuzzwad.org> <4FE419CD.60708@rdtc.ru> <4FE4245C.3040806@rdtc.ru> <90361FE2-2298-48E5-B8B6-2BA704781098@fisglobal.com> <4FE431C0.8040509@rdtc.ru> In-Reply-To: <4FE431C0.8040509@rdtc.ru> Date: Fri, 22 Jun 2012 13:27:52 +0100 Message-ID: <006001cd5072$84247cd0$8c6d7670$@milos.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKYuI98eZmJ4268sFEie+HjuxvsigJ53qn1Ad4Cgh0B4VDagAJQcn8NAZ6kCW0BFN0kv5UVh28Q Content-Language: en-gb Cc: Subject: RE: [CFT] Need Testers for: sysutils/bsdconfig X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2012 12:30:05 -0000 >>>>> 5. Same for vlan16. For vlan9 is shows right 'IEEE 802.1Q VLAN network interface'. >>>>> It should work same way for vlan1-vlan4095 interfaces at least. >>>>> >>>> >>>> I'd like to know if the sysctl MIB's for describing network interfaces is reliable. Maybe I'll keep the static list as a fallback. But yes, you're absolutely right -- I should have supported up to 5 digits even (ifconfig has internal limits of 16-bit unsigned integer for the interface instance-number). >>>> >>>> >>>>> 6. Same for ipfw0 pseudo-interface. >>>>> >>>> >>>> Curious what sysctl says about it. >>> >>> I do not know what sysctl subtree do you refer to. >>> >> >> If you're using em(4) device, try: >> >> sysctl dev.em.0.%desc >> >> Otherwise (for example), if using fxp(4), try: >> >> sysctl dev.fxp.0.%desc >> >> Or for your vlan: >> >> sysctl dev.vlan.16.%desc >> >> And try for your ipfw(4) interface: >> >> sysctl dev.ipfw.0.%desc >> >> Are each of those meaningful? >> >> NOTE: They aren't available unless you have the hardware -- so I can't (for example) try "sysctl dev.fxp.0.%desc" unless I have an fxp0 device displayed in ifconfig(8). >That's driver-dependent. For example, lagg does not presents %desc nor ipfw0 and I suppose pretty many others do not. You could use %desc if it's present and fall back to internal static list otherwise. Just something cosmetic but when I add a user when it comes to select the shell it does not have a title like: Select a shell Also it said that my user add failed but it was actually added as uid 1005. I added another user and it stated the uid 1005 when I was creating it but showed 1006 in the summary screen. It also said that adding the user failed. Perhaps I used to short a password as there was no password field entered in /etc/master.passwd twat:*:1005:1005::1340540161:1340626570:twat:/home/twat:/bin/sh test1:*:1006:1006::1340454020:1340496000:test1:/home/test1:/bin/tcsh When selecting user account expiry the calendar starts at 1 January 1970. I understand that this is when Unix time started but it would be nice for it to start from the current date. //Clay