Date: Tue, 10 Jun 1997 13:45:09 +0200 From: Lutz Albers <lutz@muc.de> To: Gilles Bruno <Gilles.Bruno@ujf-grenoble.fr> Cc: hackers@FreeBSD.ORG Subject: Re: mmap() question... Message-ID: <v03102808afc2eddae7ee@[192.168.42.51]> In-Reply-To: <2.2.32.19970610103948.008c4cdc@adm.ujf-grenoble.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.pgp.net>
Do not take life too seriously, you will never get out of it alive.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03102808afc2eddae7ee>
