Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2003 17:32:45 +0200
From:      "Nikolay Y. Orlyuk" <nikolay@asu.ntu-kpi.kiev.ua>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: Problem with fsck on -current and ufs1
Message-ID:  <20030321153245.GP76182@asu.ntu-kpi.kiev.ua>
In-Reply-To: <20030321180653.520b1ea5.tolyar@mx.ru>
References:  <20030321180653.520b1ea5.tolyar@mx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030321153245.GP76182>