From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,999b9fcf15a20978 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: core Date: 1996/11/25 Message-ID: <57cslg$fv8@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 200899971 distribution: world references: <3295C084.41C6@samoa.unice.fr> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 In article <3295C084.41C6@samoa.unice.fr>, "Gilles B." writes: > How can I do to fix the length of the core file at 0 byte . >Because when netscape bugs , I discover a big file . >(sorry for my english) Some things to try: 1. See if your shell supports limiting the coredumpsize to zero bytes. The C-shell on Digital UNIX V4.0 supports this: % limit coredumpsize 0 The manual page for your shell should offer the necessary clues. 2. Create a symbolic link called core in the directory where these core dumps typically show up. Make it a link to /dev/null. It will still a few moment to write the core dump, but it won't use space, unless /dev/null breaks. 3. Use mknod to create a special device file with the same major/minor number as /dev/null, but called "core". Thus, you'll have your own data sink. > >Thank you >-- >========================== >= Gilles : gbilanci@samoa.unice.fr = >========================== > -- Alan Rollow alan@nabeth.cxo.dec.com