From owner-freebsd-current Fri Mar 21 7:33:24 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8936037B404 for ; Fri, 21 Mar 2003 07:33:23 -0800 (PST) Received: from relay1.ntu-kpi.kiev.ua (oberon.ntu-kpi.kiev.ua [195.245.194.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DA6243F93 for ; Fri, 21 Mar 2003 07:33:09 -0800 (PST) (envelope-from nikolay@asu.ntu-kpi.kiev.ua) Received: by relay1.ntu-kpi.kiev.ua (Postfix, from userid 426) id 0E8BB19C12; Fri, 21 Mar 2003 17:32:46 +0200 (EET) Received: from onyx.asu.ntu-kpi.kiev.ua (eth0.onyx.asu.ntu-kpi.kiev.ua [10.18.16.2]) by relay1.ntu-kpi.kiev.ua (Postfix) with ESMTP id 77A1F19C05 for ; Fri, 21 Mar 2003 17:32:45 +0200 (EET) Received: from drweb by onyx.asu.ntu-kpi.kiev.ua with drweb-scanned (Exim 4.10) id 18wOVh-0002XA-00 for freebsd-current@FreeBSD.ORG; Fri, 21 Mar 2003 17:32:45 +0200 Received: from nikolay by onyx.asu.ntu-kpi.kiev.ua with local (Exim 4.10) id 18wOVh-0002X4-00 for freebsd-current@FreeBSD.ORG; Fri, 21 Mar 2003 17:32:45 +0200 Date: Fri, 21 Mar 2003 17:32:45 +0200 From: "Nikolay Y. Orlyuk" To: freebsd-current@FreeBSD.ORG Subject: Re: Problem with fsck on -current and ufs1 Message-ID: <20030321153245.GP76182@asu.ntu-kpi.kiev.ua> Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <20030321180653.520b1ea5.tolyar@mx.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20030321180653.520b1ea5.tolyar@mx.ru> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Mar 21, 2003 at 06:06:53PM +0300, Zherdev Anatoly wrote: > I try make fsck under -current for ufs1 file system (created under > -stable) and fsck print out this: > > > >fsck -y /dev/ad0s1a > fsck: exec /usr/sbin/fsck_4.2BSD for /dev/ad0s1a: No such file or > directory > > fsck search /usr/sbin/fsck_4.2BSD , but system has only /sbin/fsck_4.2bsd > > Need change > pathnames.h:#define _PATH_USRSBIN "/usr/sbin" > or need install fsck's to /usr/sbin > > and need fsck_4.2BSD instead fsck_4.2bsd (or may be both) Simply make link by: ln -s /sbin/fsck_4.2bsd /usr/sbin/fsck_4.2BSD I don't think that you must think why fsck search other or why it compiled with name in lower case. If you want this then you must compare sources of fsck and fsck_4.2bsd. > > > > -- With best wishes Nikolay mail: nikolay@asu.ntu-kpi.kiev.ua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message