From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 18:34:00 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64AB716A41A for ; Thu, 29 Nov 2007 18:34:00 +0000 (UTC) (envelope-from ryallsd@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 409E613C46B for ; Thu, 29 Nov 2007 18:34:00 +0000 (UTC) (envelope-from ryallsd@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2514828waf for ; Thu, 29 Nov 2007 10:33:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=dj1s/BzjsxeMcxlKpvNixKJioNp444l1sl6JdTCIfSY=; b=kr7xgpXA3mUX8mSaVkGYlzieuwaeFEr8qEyxvR1zlsMW2lSH9f/iAgQ1L17haqKucziw7gHtWjKyEpVDJbdubIZxyrPXi6v0snDpdWGSjcYo4/QIOZzVuX72UHwGf6WiozXbwDivhtVkgCzmFLKN75geanHhpzWV6CWN/gczaX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y8pAk+vmjx+biwECf+K/4rfsKUrqm4KTWuYMvZzc0fBF1FkO5Ef6e1uwFGp4ApuJX2M+2CiMi9ZYRMwibxpfpqqG2szF+5tfAzPWsy0u1k2tFUNMzjwTLY3e129wtJMserCAAMVvXzirJrZaKqkQMfF1lReLVak9RyeyvpT8Neg= Received: by 10.114.59.1 with SMTP id h1mr628398waa.1196359619926; Thu, 29 Nov 2007 10:06:59 -0800 (PST) Received: by 10.115.78.8 with HTTP; Thu, 29 Nov 2007 10:06:59 -0800 (PST) Message-ID: Date: Thu, 29 Nov 2007 10:06:59 -0800 From: "Derrick Ryalls" To: "Wojciech Puchar" In-Reply-To: <20071129185547.K20307@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> <003101c831da$a405bc50$0d00a8c0@bayoucshaffer> <20071129122043.A9040@wojtek.tensor.gdynia.pl> <20071129084244.eaba6f7a.wmoran@potentialtech.com> <20071129185547.K20307@wojtek.tensor.gdynia.pl> Cc: questions@freebsd.org, Bill Moran , Mark Evans Subject: Re: ls -l takes a forever to finish. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 18:34:00 -0000 > > it is for sure. > > the fix would be > > mv /usr/home /usr/oldhome;mkdir /usr/home;mv /usr/oldhome/* /usr/home > > and after successfull move - rm -rf /usr/home I really hope you meant: rm -rf /usr/oldhome Also, mv just moves pointers around, wouldn't a cp -Rp be needed instead?