From owner-freebsd-questions@FreeBSD.ORG Sat May 20 09:32:07 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 14B0716A422 for ; Sat, 20 May 2006 09:32:07 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A9C43D5C for ; Sat, 20 May 2006 09:32:05 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IZK00JT355GJZ40@osl1smout1.broadpark.no> for questions@freebsd.org; Sat, 20 May 2006 11:32:04 +0200 (CEST) Received: from urban.broadpark.no ([80.203.212.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IZK00BJ355GW820@osl1sminn1.broadpark.no> for questions@freebsd.org; Sat, 20 May 2006 11:32:04 +0200 (CEST) Date: Sat, 20 May 2006 11:32:05 +0200 From: Kyrre Nygard In-reply-to: <446CC6CA.7020001@infowest.com> To: Lorin Lund Message-id: <7.0.1.0.2.20060520113009.0221d7a8@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060518123424.02289418@broadpark.no> <446CC6CA.7020001@infowest.com> 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: Sat, 20 May 2006 09:32:07 -0000 At 21:11 18.05.2006, Lorin Lund wrote: >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 To a man of my poverty, $0.02 is a lot more than what it seems :) I guess there' s no way around it. I notice when I copy files, manually one by one, to or from FAT32, the files end up in uppercase. This is also very annoying, but something I guess I have to live with. Take care, Kyrre