From owner-freebsd-questions@FreeBSD.ORG Thu May 18 19:11:18 2006 Return-Path: X-Original-To: questions@freebsd.org 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 0FB9616A47D for ; Thu, 18 May 2006 19:11:18 +0000 (UTC) (envelope-from wbs@infowest.com) Received: from guadix.infowest.com (guadix.out.smtp.infowest.com [204.17.177.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE6BF43D45 for ; Thu, 18 May 2006 19:11:17 +0000 (GMT) (envelope-from wbs@infowest.com) Received: from alora.infowest.com (alora.client.smtp.infowest.com [204.17.177.61]) by guadix.infowest.com (Postfix) with ESMTP id 62970166D53; Thu, 18 May 2006 13:11:17 -0600 (MDT) Received: from [127.0.0.1] (71-213-95-210.slkc.qwest.net [71.213.95.210]) by alora.infowest.com (Postfix) with ESMTP id F368A1E319A; Thu, 18 May 2006 13:11:16 -0600 (MDT) Message-ID: <446CC6CA.7020001@infowest.com> Date: Thu, 18 May 2006 13:11:06 -0600 From: Lorin Lund User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kyrre Nygard References: <7.0.1.0.2.20060518123424.02289418@broadpark.no> In-Reply-To: <7.0.1.0.2.20060518123424.02289418@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Shell script cannot run on FAT32 partition 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, 18 May 2006 19:11:18 -0000 Kyrre Nygard wrote: > > Hello! > > I have this nice renaming script here. > It sanitizes badly named parts of files and folders. > > But when I run it on my FAT32, dual boot transition partition (hehe), > it causes > my computer (Pentium 4, 3,2 GHz) to freeze. I vaguely remember seeing > some > message before it freezes saying "Locking from myself" or something > like that, > this is not recorded into /var/log/messages. > > It is very annoying actually because to rename a bunch of files I > first have to > copy them to my UFS2 partition, run the script, and then copy them > back to the > FAT32 partition. > > Does this problem sound familiar to anyone? > > Thanks! > > Anyway here is the script. FAT32 seems to have some limitations on moving and renaming files. Several years ago I had wrote a program (which ran under Win98) which received files by UDP in pieces. Once fully assembled it would "MOVE" the files to another director. That process would bog down. When I tried the same application under WinNT on an NTFS drive it worked OK. I don't know if the problem was in Win 98 or if it is a weakness of the FAT32 design. If the problem is in the FAT32 design there could be problems that even show up under FreeBSD. That's my $0.02