Date: Wed, 09 Jul 2003 20:00:27 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: Oliver Hoffmann <oliver.hoffmann@uw-service.de> Cc: freebsd-firewire@freebsd.org Subject: Re: problems getting ufs_copy working Message-ID: <ybsu19wrmlw.wl@ett.sat.t.u-tokyo.ac.jp> In-Reply-To: <200307091142.47335.oliver.hoffmann@uw-service.de> References: <200307021338.18065.oliver.hoffmann@uw-service.de> <200307081354.28017.oliver.hoffmann@uw-service.de> <ybs4r1xtb0y.wl@ett.sat.t.u-tokyo.ac.jp> <200307091142.47335.oliver.hoffmann@uw-service.de>
next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 9 Jul 2003 11:42:47 +0200, Oliver Hoffmann wrote: > > Hi! > > > Did you have any output other than 'copying..' line? > > How about without '-a' option? > > Doesn't matter. > > > I appreciate if you could send me the output of: > > # truss /sbin/ufs_copy /mnt/fw/testfile /dev/ad0s1g > > Ok, thats it: > truss: cannot open /proc/curproc/mem: No such file or directory > truss: cannot open /proc/620/mem: No such file or directory > > Mhm, something is missing, right? Is this reproducible? Are you sure you have procfs mounted? If truss(1) doesn't work, try ktrace(1) and send me output of kdump(1). > There is another thing wich is a bit confusing: > # ls -ahl > total 1306356 > drwxr-xr-x 2 root wheel 512B Jul 9 09:17 . > drwxr-xr-x 4 root wheel 512B Jul 8 10:36 .. > -rw------- 1 root wheel 34G Jul 9 09:21 testfile > # du -h > 1.2G > > The files inside that backupfile seize 160M! What makes you confused? 'ls -l' shows size of whole file system. du shows the size of the used block in the filesystem (files + directories + inode + etc.) /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsu19wrmlw.wl>