From owner-freebsd-firewire@FreeBSD.ORG Wed Jul 9 06:36:29 2003 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1267E37B404 for ; Wed, 9 Jul 2003 06:36:29 -0700 (PDT) Received: from post.webmailer.de (natsmtp01.webmailer.de [192.67.198.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E6DA43FBD for ; Wed, 9 Jul 2003 06:36:27 -0700 (PDT) (envelope-from oliver.hoffmann@uw-service.de) Received: from hermes2.uwskoeln.de (sys-82.netsystec.de [194.8.213.82] (may be forged)) by post.webmailer.de (8.12.8/8.8.7) with ESMTP id h69DaOFO028242 for ; Wed, 9 Jul 2003 15:36:25 +0200 (MEST) Received: from [192.168.8.25] (helo=uw-service.de) by hermes2.uwskoeln.de with esmtp (Exim 3.35 #1 (Debian)) id 19aF7R-0007ZT-00 for ; Wed, 09 Jul 2003 15:36:25 +0200 Received: from hoffmann.uwskoeln.de by uw-service.de with SMTP (MDaemon.PRO.v5.0.5.R) for ; Wed, 09 Jul 2003 15:37:07 +0200 From: Oliver Hoffmann To: Hidetoshi Shimokawa Date: Wed, 9 Jul 2003 15:31:28 +0200 User-Agent: KMail/1.5.2 References: <200307021338.18065.oliver.hoffmann@uw-service.de> <200307091142.47335.oliver.hoffmann@uw-service.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307091531.29598.oliver.hoffmann@uw-service.de> X-Return-Path: oliver.hoffmann@uw-service.de X-MDaemon-Deliver-To: freebsd-firewire@freebsd.org cc: freebsd-firewire@freebsd.org Subject: Re: Now it works! X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Vendors pre-release coordination List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 13:36:29 -0000 > Is this reproducible? Yes it is. > Are you sure you have procfs mounted? Right /proc wasn't mounted. They kicked it out because of it's poor security. Didn't knew that. > 'ls -l' shows size of whole file system. > du shows the size of the used block in the filesystem > (files + directories + inode + etc.) All right. # truss /sbin/ufs_copy /mnt/fw/testfile /dev/ad0s1g ... open("/dev/ad0s1g",0x201,0600) ERR#16 'Device busy' ftruncate(0xffffffff,0x0,0x9275e000,0x8) ERR#9 'Bad file descriptor' close(4) = 0 (0x0) exit(0x1) process exit, rval = 256 I think the problem was that the device was mounted. I made a restore with a device wich wasn't mounted and everything is alright now. Now I can test ufs_copy with my backups and see how feasible it is. Thanks, Oliver.