From owner-freebsd-hackers Tue Jun 10 06:07:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA03062 for hackers-outgoing; Tue, 10 Jun 1997 06:07:54 -0700 (PDT) Received: from colin.muc.de (root@colin.muc.de [193.174.4.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA03047 for ; Tue, 10 Jun 1997 06:07:38 -0700 (PDT) Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <86046-2>; Tue, 10 Jun 1997 15:07:10 +0200 Received: from [192.168.42.51] (aleisha [192.168.42.51]) by tavari.muc.de (8.8.5/8.7.3) with ESMTP id NAA09651; Tue, 10 Jun 1997 13:46:31 +0200 (CEST) X-Sender: lutz@mail Message-Id: In-Reply-To: <2.2.32.19970610103948.008c4cdc@adm.ujf-grenoble.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 10 Jun 1997 13:45:09 +0200 To: Gilles Bruno From: Lutz Albers Subject: Re: mmap() question... Cc: hackers@FreeBSD.ORG Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAA03053 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > {423}Root /bin/ls -a -l /usr/local/samba/var/locks > total 60 > drwxr-xr-x 2 root wheel 512 Jan 28 11:19 . > drwxr-xr-x 3 root wheel 512 Jan 28 11:36 .. > -rw-rw-rw- 1 root wheel 102400 Jan 28 11:26 SHARE_MEM_FILE > -rw-rw-rw- 1 root wheel 4294967304 Jan 28 12:04 >SHARE_MEM_FILE.processes > ^^^^^^^^^^ > -rw-r--r-- 1 root wheel 200 Jan 28 12:04 STATUS..LCK > -rw-r--r-- 1 root wheel 77 Jan 28 11:19 browse.dat > -rw-r--r-- 1 root wheel 0 Jan 28 11:19 wins.dat > >Hike ! What's that ? A sparse file. If you seek beyond the eof and write a block, then the rest will NOT be written. >It would disturb me, if this directory had to be BACKED UP (using >dump/amanda)... dump handles this just fine. > . am I correct in my assertions / the size of this particular file > . is the output of the ls command 'normal' ? Yes, the output of ls is normal. du will show how man blocks have been allocated for this file. > . will this 'odditie' disturb either dump or tar (I'm concerned/anxious >about 'tar') tar will have it's problems with these files. Don't use it for backups. ciao lutz -- Lutz Albers, lutz@muc.de, pgp key available from Do not take life too seriously, you will never get out of it alive.