From owner-freebsd-questions@FreeBSD.ORG Sat May 4 17:46:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 030C8ABD for ; Sat, 4 May 2013 17:46:29 +0000 (UTC) (envelope-from michael_bird@yahoo.com) Received: from nm31-vm1.bullet.mail.ne1.yahoo.com (nm31-vm1.bullet.mail.ne1.yahoo.com [98.138.229.41]) by mx1.freebsd.org (Postfix) with ESMTP id B7E1386A for ; Sat, 4 May 2013 17:46:28 +0000 (UTC) Received: from [98.138.90.57] by nm31.bullet.mail.ne1.yahoo.com with NNFMP; 04 May 2013 17:43:38 -0000 Received: from [98.138.89.199] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 04 May 2013 17:43:38 -0000 Received: from [127.0.0.1] by omp1057.mail.ne1.yahoo.com with NNFMP; 04 May 2013 17:43:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 618704.95231.bm@omp1057.mail.ne1.yahoo.com Received: (qmail 84336 invoked by uid 60001); 4 May 2013 17:43:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1367689418; bh=jLgrrHnsYOR1HONuQ6DqMnJflpommeb7gryE567OYBs=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ICAVKjxQKE+IuHsCiAqpeA4NI6m6bkDAazNsddIw4HCiJDtbFCT17F38+/1dgg4rEd2oyQDTe1Wtc6QdbvnZYlHq2FCZY8q3VnLCaJN2IOMrDdpXdc1OB5+DJPwJ2TPZwilWk0/MKloxJGHhFrwddo1Bs3TPjAmjUdZOhdZ5z9g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=OdnTf9fCFLxWZno5sUi6XNhIjR9GIj3Nv5ld1V+aZCa8f6x/gFLHbywVqapjW3OSF4Gdq9DiOt4NTVwCdYCt02BEuA7A3Uc7RW6YcO3gZVnKadGd8UVGSo5rfOpVRTFhdH/nd545lPflYKySot6isARVRccB6SbEmYOQBogp08E=; X-YMail-OSG: 4cDR0q4VM1kSf7_90l0sAWQjkB5IFWUcmDlKgit.jigpx6W CJ1ZCqonL36q3mJiW.BpAom_Dd0XeHh.YwTn6Dj8Zz14yq3PgYTrLvL59_6J _8uqtb1G6Piv_We3bGjf.TF1h2HfcBTJI6u5onofePWIkaT3w9Rk0WzVVKwA f.6akG_7fDQmWpAHue_JTHqXdmRSgUD8P9yvcGTrJ3rGd8bJPLWJPsNV6uFB xEymqakzQwKeLQOxpF_FphtI9k_pvmmv.grgTCukPsxAoZe_0ox.iHIdeIiH IyBpiY0a5Cqg7hohwNIwFDhylTmvDnR.aCKznTU5d434QdH6CrEs5ZuqE_ug Hz0zhpWw7l7qyH4wZPUVYkki3KurFH0q3ZcQ_nzyAHpI1pVafkyLMT.mX9u4 Ns1sCiEil1BdmI5yPHwLeeyCp.K3iazWhhUvcyMTqY3ayjHRUOwzaBDyEt6T eYA-- Received: from [222.223.72.19] by web120006.mail.ne1.yahoo.com via HTTP; Sat, 04 May 2013 10:43:37 PDT X-Rocket-MIMEInfo: 002.001, CkhpIExpc3QsCgpUaGVyZSBpcyBhIHJhdGhlciBjdXJpb3VzIHByb2JsZW0gdGhhdCBJIGhhdmUsIHdoaWNoIEkgaGF2ZW4ndCBlbmNvdW50ZXJlZCBiZWZvcmUuCkkgbWFrZSByZWd1bGFyIGJhY2t1cHMgb2YgbXkgcGFja2FnZXMgYW5kIHB1dCB0aGVtIG9udG8gYW4gZXh0ZXJuYWwgdXNiIGRyaXZlLAp3aGljaCBpcyBtb3VudGVkIHJlYWQvd3JpdGUgdmlhIHN5c3V0aWxzL2Z1c2Vmcy1udGZzLgoKCk5vdyB0aGVzZSBiYWNrdXBzIGRvbid0IGV4aXN0IG5vIG1vcmUgYW5kIGF0IHRoZSBzYW1lIHRpbWUgdGgBMAEBAQE- X-Mailer: YahooMailWebService/0.8.141.536 References: Message-ID: <1367689417.83465.YahooMailNeo@web120006.mail.ne1.yahoo.com> Date: Sat, 4 May 2013 10:43:37 -0700 (PDT) From: Michael Bird Subject: ls(1), rm(1) - No such file or directory even though they are there. To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Michael Bird List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2013 17:46:29 -0000 Hi List, There is a rather curious problem that I have, which I haven't encountered before. I make regular backups of my packages and put them onto an external usb drive, which is mounted read/write via sysutils/fusefs-ntfs. Now these backups don't exist no more and at the same time they are there. That is to say, upon issuing ls and/or rm on the command line I get rather strange results. Here are some of my outputs: mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % ls [a long list that has been cut out] zip-3.0.tbz mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % ls zip-3.0.tbz ls: zip-3.0.tbz: No such file or directory Some have files that (don't) exist have i-nodes and some haven't: mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % ls -i zip-3.0.tbz ls: zip-3.0.tbz: No such file or directory mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % ls -i linux-f10-tiff-3.8.2.tbz 2469 linux-f10-tiff-3.8.2.tbz Running rm on the folder I get "No such file or directory" for every single entry: mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % rm * [a long list that has been cut out] rm: linux-f10-tiff-3.8.2.tbz: No such file or directory Yet again some of the files can be test via gzip and some can't: mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % gzip -t linux-f10-tiff-3.8.2.tbz mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % echo $? 0 mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % gzip -t zip-3.0.tbz gzip: can't stat: zip-3.0.tbz: No such file or directory mike@machine1:/mnt/Programs/FreeBSD/91binaries/packages % Looks like the this part of the file system is corrupt. I also booted the drive up under Windows and got the same result. The files are there, but can't be read, overwritten or deleted. What does the list say about the above mentioned? Michael From owner-freebsd-questions@FreeBSD.ORG Sat May 4 18:22:54 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB00C592 for ; Sat, 4 May 2013 18:22:54 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [204.107.128.242]) by mx1.freebsd.org (Postfix) with ESMTP id B6FAA9E4 for ; Sat, 4 May 2013 18:22:53 +0000 (UTC) Received: from bucksport.safeport.com (bucksport.safeport.com [204.107.128.242]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id r44I6XRV061724 for ; Sat, 4 May 2013 14:06:33 -0400 (EDT) (envelope-from doug@safeport.com) Date: Sat, 4 May 2013 14:06:33 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Subject: freebsd-update question Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [204.107.128.242]); Sat, 04 May 2013 14:06:33 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2013 18:22:55 -0000 I had an 8.2 system that I wanted to take to 8.4. First I tried upgrade to 8.4, getting (in essence) can't do that. So I upgraded 8.2 which worked giving the end-of-life warning. But seemed work. I then did an upgrade to 8.3 with: freebsd-update -r 8.3-RELEASE upgrade The first part, downloading the diffs and inspecting the system seemed ok. The install seemed ok up to the point it wanted to edit files. It wanted to edit freebsd.submit.cf and sendmail.cf neither of which had local changes and then it started wanting to delete all the files in /etc. I aborted the process when it got to rc.conf. The message was something like, "deleting file hosts.allow no longer in 8.3". Happily aborting the process left the system unchanged. Aside from, what could I have done wrong? My question is should we be able to trust freebsd-update on expired systems if it says a mirror exists and then sets about doing its thing? Can this happen in the normal process of removing update 'cruft' from the mirrors? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277