Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread Polytropon
On Mon, 4 Oct 2010 08:17:02 -0400, Jerry wrote: > You say po-tah-toes, he says po-tay-toes, who cares? I say Kartoffel, you say name server, who cares? :-) > Were you > completely baffled by what he was trying to convey? At the very least, > you could have attempted to answer his question befo

Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread Polytropon
On Mon, 04 Oct 2010 12:01:24 +0200, "O. Hartmann" wrote: > On several FreeBSD boxes "performing portsnap fetch" updating the ports > on a regular basis, folder /var/db/portsnap/files/ gets filled over > time. Sorry for not answering your question, but allow me a little sidenote regarding the

Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread Jerry
On Mon, 4 Oct 2010 12:59:50 +0100 RW articulated: > There shouldn't be any need to do that, they are supposed to be > deleted automatically. I have 22371, if you have much more than that > you probably should remove the contents of /var/db/portsnap/ and do > another fetch. I have 22339 files on

Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread Jerry
On Mon, 4 Oct 2010 13:24:18 +0200 Polytropon articulated: > On Mon, 04 Oct 2010 12:01:24 +0200, "O. Hartmann" > wrote: > > On several FreeBSD boxes "performing portsnap fetch" updating the > > ports on a regular basis, folder /var/db/portsnap/files/ gets > > filled over time. > > Sorry for not

Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread RW
On Mon, 04 Oct 2010 12:01:24 +0200 "O. Hartmann" wrote: > On several FreeBSD boxes "performing portsnap fetch" updating the > ports on a regular basis, folder /var/db/portsnap/files/ gets filled > over time. I was wondering if there is not an elegant, sophisticated > way cleaning up those files n

Re: Cleaning /var/db/portsnap/files/, how?

2010-10-04 Thread RW
On Mon, 4 Oct 2010 08:22:58 -0400 Jerry wrote: > On Mon, 4 Oct 2010 12:59:50 +0100 > RW articulated: > > > There shouldn't be any need to do that, they are supposed to be > > deleted automatically. I have 22371, if you have much more than that > > you probably should remove the contents of /var

Re: Cleaning up after attack?

2010-02-15 Thread Erik Norgaard
On 15/02/10 11:13, Dr. Jennifer Nussbaum wrote: Hi. I have an up-to-date FreeBSD 7.2 box that has been compromised. Someone aparently got in to an account with certain admin priveleges and has been sending spam. I disabled the account, shut off my MTA and used pf to block all traffic to port 2

Re: Cleaning email

2009-08-07 Thread Jeffrey Goldberg
On Aug 7, 2009, at 6:42 AM, Olivier Nicole wrote: reading around the FAQ for FreeBSD mailing list, I see that the mailing list server does some message cleaning (converting HTML to text, etc). I don't want just any solution, that works more or less, but the very well tested solution used by F

Re: Cleaning up multiplicates in elf ldconfig path

2009-03-31 Thread Parv
in message <200903302145.48743.mel.flynn+fbsd.questi...@mailing.thruhere.net>, wrote Mel Flynn thusly... > > On Sunday 29 March 2009 16:39:15 Parv wrote: > > I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed > > to find a solution to the (cosmetic) problem of ldconfig path > > having

Re: Cleaning up multiplicates in elf ldconfig path

2009-03-30 Thread Mel Flynn
On Sunday 29 March 2009 16:39:15 Parv wrote: > I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009). I failed to > find a solution to the (cosmetic) problem of ldconfig path having > duplicate directories (dmesg output wrapped for this email) ... I've been running without /usr/X11R6 symlink for a

Re: Cleaning up multiplicates in elf ldconfig path

2009-03-30 Thread Parv
in message <20090329143915.ga1...@holstein.holy.cow>, wrote Parv thusly... > ... > I failed to find a solution to the (cosmetic) problem of ldconfig > path having duplicate directories ... > I suppose I could stick in /etc/rc.conf this ... > > ldconfig_paths="/usr/lib/compat /usr/local/lib > /us

Re: Cleaning data off a remote machine

2008-07-28 Thread Roland Smith
On Mon, Jul 28, 2008 at 05:23:04PM +0100, Chris Hastie wrote: > I'm about to give up a FreeBSD dedicated server and would like to make sure I > don't inadvertantly leave any bits of sensitive data on it. What is the best > way to remove all data from the hard drive? Remove the harddive and move a

Re: Cleaning data off a remote machine

2008-07-28 Thread Wojciech Puchar
don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? I have no problem if this removes the OS along the way, but ideally I would like to be able to do what ever I do from an SSH session. If there's no alternative I can arange KVMo

Re: Cleaning data off a remote machine

2008-07-28 Thread Andrew L. Gould
On Jul 28, 2008, at 11:23, Chris Hastie <[EMAIL PROTECTED]> wrote: I'm about to give up a FreeBSD dedicated server and would like to make sure I don't inadvertantly leave any bits of sensitive data on it. What is the best way to remove all data from the hard drive? I have no problem if this

Re: cleaning old files

2007-03-08 Thread Bill Moran
In response to "Zbigniew Szalbot" <[EMAIL PROTECTED]>: > Hello, > > Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few > 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, > I get: > > php5-ctype-5.1.6The ctype shared extension for php > php5-ctype-

Re: cleaning out log files? [top-posting corrected]

2006-11-26 Thread Robert Huff
Oliver Iberien writes: > It turns out there was a core dump I had not noticed. I had the > idea of running ls -SlhR /var/ > /.../var_contents.txt and > looking for anything huge. Try this instead: du /var | sort -nr | head -n 25 | sendmail

Re: cleaning out log files?

2006-11-26 Thread RW
On Sunday 26 November 2006 19:21, Oliver Iberien wrote: > Thank you! I knew something like that had to exist. > > It turns out there was a core dump I had not noticed. I had the idea of > running ls -SlhR /var/ > /.../var_contents.txt and looking for anything > huge. > FreeBSD has some useful peri

Re: cleaning out log files? [top-posting corrected]

2006-11-26 Thread Oliver Iberien
On Sunday 26 November 2006 10:54, you wrote: > Check "/etc/newsyslog.conf" > All log-files you like to have rotated, should be mentioned there. > > System owned logs are in there per default. > > "du -k /var" will tell you where your space is being "consumed". > Maybe your "/var/mail/root" is growi

Re: cleaning out log files?

2006-11-26 Thread Oliver Iberien
Thank you! I knew something like that had to exist. It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ > /.../var_contents.txt and looking for anything huge. Oliver On Sunday 26 November 2006 10:54, you wrote: > Check "/etc/newsyslog.conf" > All log-

Re: cleaning out log files?

2006-11-26 Thread Armin Arh
Check "/etc/newsyslog.conf" All log-files you like to have rotated, should be mentioned there. System owned logs are in there per default. "du -k /var" will tell you where your space is being "consumed". Maybe your "/var/mail/root" is growing... How big is your /var anyway? Armin -- PUBBOX Pos

Re: cleaning out log files?

2006-11-26 Thread RW
On Sunday 26 November 2006 18:37, Oliver Iberien wrote: > I've noticed that my /var partition, on a machine being used as a desktop, > is about 80% full and would like to know what in it can safely be deleted, > or if there is some accepted way to trim log files down with a cron job, > etc. Thanks!

Re: cleaning out log files?

2006-11-26 Thread Lane Holcombe
On Sunday 26 November 2006 12:37, Oliver Iberien wrote: > I've noticed that my /var partition, on a machine being used as a desktop, > is about 80% full and would like to know what in it can safely be deleted, > or if there is some accepted way to trim log files down with a cron job, > etc. Thanks!

Re: cleaning off unix/linux????

2006-05-21 Thread Gary Kline
On Sat, May 20, 2006 at 09:57:44PM -0400, John Nielsen wrote: > Quoting Gary Kline <[EMAIL PROTECTED]>: > > > Gang, > > > > A 40G drive that I thought was bad (when trying to install W2K > > on the drive) may be entirely good. I am trying to avoid having > > to buy a DOS/Win platf

Re: cleaning off unix/linux????

2006-05-21 Thread Gary Kline
On Sun, May 21, 2006 at 10:24:31AM +1000, Rowdy wrote: > Gary Kline wrote: > > Gang, > > > > A 40G drive that I thought was bad (when trying to install W2K > > on the drive) may be entirely good. I am trying to avoid having > > to buy a DOS/Win platform. I've had both W2K and FBSD

Re: cleaning off unix/linux????

2006-05-21 Thread Mike Jeays
On Sun, 2006-05-21 at 13:41 -0700, Gary Kline wrote: > On Sat, May 20, 2006 at 07:21:23PM -0500, Charles Howse wrote: > > > > On May 20, 2006, at 6:46 PM, Gary Kline wrote: > > > > > Gang, > > > > > > A 40G drive that I thought was bad (when trying to install W2K > > > on the drive) may be

Re: cleaning off unix/linux????

2006-05-21 Thread Gary Kline
On Sat, May 20, 2006 at 07:21:23PM -0500, Charles Howse wrote: > > On May 20, 2006, at 6:46 PM, Gary Kline wrote: > > > Gang, > > > > A 40G drive that I thought was bad (when trying to install W2K > > on the drive) may be entirely good. I am trying to avoid having > > to buy a DO

Re: cleaning off unix/linux????

2006-05-21 Thread Derek Ragona
Download the utility to low-level format the drive from the drive makers website. -Derek At 06:46 PM 5/20/2006, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid hav

Re: cleaning off unix/linux????

2006-05-20 Thread John Nielsen
Quoting Gary Kline <[EMAIL PROTECTED]>: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one mach

Re: cleaning off unix/linux????

2006-05-20 Thread Rowdy
Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this one machine. For various reaso

Re: cleaning off unix/linux????

2006-05-20 Thread Charles Howse
On May 20, 2006, at 6:46 PM, Gary Kline wrote: Gang, A 40G drive that I thought was bad (when trying to install W2K on the drive) may be entirely good. I am trying to avoid having to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu on this

Re: cleaning off unix/linux????

2006-05-20 Thread Gerard Seibert
Gary Kline wrote: > Gang, > > A 40G drive that I thought was bad (when trying to install W2K > on the drive) may be entirely good. I am trying to avoid having > to buy a DOS/Win platform. I've had both W2K and FBSD or Ubuntu > on this one machine. For various reas

Re: cleaning DVD+RW on Plextor PX-716a

2005-05-07 Thread Marc Fonvieille
On Sat, May 07, 2005 at 03:18:40PM +0600, Ilia Chipitsine wrote: > Dear Sirs, > > do I need to clean RW disk before writing ? > No. You should be able to "rewrite" on a DVD+RW without any blacking operation. > why it says errors to me: > > design# burncd -f /dev/acd0 format dwd+rw > burncd: fo

Re: Cleaning /tmp on boot

2005-02-24 Thread Lars Kristiansen
Lowell Gilbert skrev: "Lars Kristiansen" <[EMAIL PROTECTED]> writes: Alternatively, is there something similar to tmpfs from Linux available on FreeBSD? I've heard about mfs but it statically allocates memory from the VM, I'd prefer if allocation was done only as needed on demand. Found

Re: Cleaning /tmp on boot

2005-02-24 Thread Lowell Gilbert
"Lars Kristiansen" <[EMAIL PROTECTED]> writes: > > Alternatively, is there something similar to tmpfs from Linux > > available on FreeBSD? I've heard about mfs but it statically > > allocates memory from the VM, I'd prefer if allocation was done only > > as needed on demand. > > Found these: > h

Re: Cleaning /tmp on boot

2005-02-24 Thread Lars Kristiansen
> Alternatively, is there something similar to tmpfs from Linux > available on FreeBSD? I've heard about mfs but it statically > allocates memory from the VM, I'd prefer if allocation was done only > as needed on demand. Found these: http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 http://doc

Re: Cleaning /tmp on boot

2005-02-24 Thread Giorgos Keramidas
On 2005-02-24 14:49, Nelis Lamprecht <[EMAIL PROTECTED]> wrote: >On Thu, 24 Feb 2005 12:42:17 +, Paul Richards ><[EMAIL PROTECTED]> wrote: >> Hi, >> Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot >> by means of setting a flag or something in /etc/rc.conf? I'd like to >>

Re: Cleaning /tmp on boot

2005-02-24 Thread Matthew Seaman
On Thu, Feb 24, 2005 at 12:42:17PM +, Paul Richards wrote: > Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot > by means of setting a flag or something in /etc/rc.conf? I'd like to > check before I start manually hacking up my boot scripts to get this > done. Add: cl

Re: Cleaning /tmp on boot

2005-02-24 Thread Nelis Lamprecht
On Thu, 24 Feb 2005 12:42:17 +, Paul Richards <[EMAIL PROTECTED]> wrote: > Hi, > Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot > by means of setting a flag or something in /etc/rc.conf? I'd like to > check before I start manually hacking up my boot scripts to get this >

RE: Cleaning Out Ports?

2005-02-07 Thread Matt LaPlante
That's correct; this type of functionality is exactly what I was searching for. > -Original Message- > From: Loren M. Lang [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 01, 2005 6:50 AM > To: Michael C. Shultz > Cc: freebsd-questions@freebsd.org; Matt La

Re: Cleaning Out Ports?

2005-02-01 Thread RW
On Tuesday 01 February 2005 08:04, Christopher Illies wrote: > Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that > detects and removes orphaned dependencies. Just bear in mind that some of the leaves will be required for building other ports. Whilst they can be safely removed

Re: Cleaning Out Ports?

2005-02-01 Thread David J. Weller-Fahy
* David J. Weller-Fahy <[EMAIL PROTECTED]> [2005-02-01 08:24 +0100]: > * Matt LaPlante <[EMAIL PROTECTED]> [2005-02-01 02:36 +0100]: > Attached is my script, and my conf file. Unfortunately, my script got stripped. Here's the script with a txt extension. Regards, -- dave [ please don't CC me ]

Re: Cleaning Out Ports?

2005-02-01 Thread Loren M. Lang
t; 110 8th Street > > Troy, NY 12180 > > Phone: (518) 276-2275 > > [EMAIL PROTECTED] > > www.cat.rpi.edu > > > > > -Original Message- > > > From: Pat Maddox [mailto:[EMAIL PROTECTED] > > > Sent: Monday, January 31, 2005 8:55 PM > &

Re: Cleaning Out Ports?

2005-02-01 Thread Michael C. Shultz
On Tuesday 01 February 2005 01:31 am, Dick Hoogendijk wrote: > On 31 Jan Michael C. Shultz wrote: > > If sysutils/pkg_cutleaves isn't right, please provide good detail > > why. > > What's the benefir over using "portsclean -D" or "portsclean -CDPP" > Works like a charm. (see man portsclean). Ports

Re: Cleaning Out Ports?

2005-02-01 Thread Dick Hoogendijk
On 31 Jan Michael C. Shultz wrote: > If sysutils/pkg_cutleaves isn't right, please provide good detail why. What's the benefir over using "portsclean -D" or "portsclean -CDPP" Works like a charm. (see man portsclean). -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.

Re: Cleaning Out Ports?

2005-02-01 Thread Christopher Illies
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote: > > I know the ports system is designed to install dependencies automatically, > but how does one go about removing them? Say one large package installs > several dependencies, but then later on that package is removed...and now > we'

Re: Cleaning Out Ports?

2005-01-31 Thread David J. Weller-Fahy
* Matt LaPlante <[EMAIL PROTECTED]> [2005-02-01 02:36 +0100]: > I know the ports system is designed to install dependencies > automatically, but how does one go about removing them? Say one large > package installs several dependencies, but then later on that package > is removed...and now we're l

Re: Cleaning Out Ports?

2005-01-31 Thread Michael C. Shultz
On Monday 31 January 2005 06:35 pm, Matt LaPlante wrote: > This looks like what I'm after, thank you! > After you try it, if sysutils/pkg_cutleaves doesn't meet your requirements please let me know. I can add exactly what you asked for to sysutils/portmanager. I don't want to add features that

RE: Cleaning Out Ports?

2005-01-31 Thread Matt LaPlante
This looks like what I'm after, thank you! > -Original Message- > From: Michael C. Shultz [mailto:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 9:23 PM > To: freebsd-questions@freebsd.org > Cc: Matt LaPlante > Subject: Re: Cleaning Out Ports? > > On Mo

Re: Cleaning Out Ports?

2005-01-31 Thread Nathan Wheeler
I think portsclean does that. I can't remember how though. Its in the portupgrade package. Nathan - Original Message - From: "Matt LaPlante" <[EMAIL PROTECTED]> To: "'Pat Maddox'" <[EMAIL PROTECTED]> Cc: Sent: Monday, January 31, 2005

Re: Cleaning Out Ports?

2005-01-31 Thread Michael C. Shultz
tion Technologies > RPI/CAT, CII 8015 > 110 8th Street > Troy, NY 12180 > Phone: (518) 276-2275 > [EMAIL PROTECTED] > www.cat.rpi.edu > > > -Original Message- > > From: Pat Maddox [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 31, 2005 8:55 PM > >

Re: Cleaning Out Ports?

2005-01-31 Thread Pat Maddox
OTECTED] > > Sent: Monday, January 31, 2005 8:55 PM > > To: Matt LaPlante > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Cleaning Out Ports? > > > > If you try to remove a package that has child dependencies, then it'll > > let you know. You'

RE: Cleaning Out Ports?

2005-01-31 Thread Matt LaPlante
o:[EMAIL PROTECTED] > Sent: Monday, January 31, 2005 8:55 PM > To: Matt LaPlante > Cc: freebsd-questions@freebsd.org > Subject: Re: Cleaning Out Ports? > > If you try to remove a package that has child dependencies, then it'll > let you know. You'll have to use the -f flag

Re: Cleaning Out Ports?

2005-01-31 Thread Pat Maddox
If you try to remove a package that has child dependencies, then it'll let you know. You'll have to use the -f flag to force it to delete the package, despite there being any dependencies. If you want to delete a package along with all its dependencies, you can use the -r flag. Use pkgdb -F to f

Re: Cleaning port config options

2004-12-14 Thread Joshua Lokken
On Mon, 13 Dec 2004 10:38:17 -0500, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > I was installing the mail/dspam port and the selection of options > appeared for configuration, then after selecting, the configuration > stopped with an error that I had selected too many back-end options. I > did

Re: Cleaning port config options

2004-12-13 Thread Dan Kilbourne
Robert Fitzpatrick extolled: > On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote: > > Can there possibly be anything else not getting cleaned up? > > -- > Robert > Did you look in /var/db/ports/ ? There may be something in there that is missed by make rmconfig -- ___ Dan __

Re: Cleaning port config options

2004-12-13 Thread Robert Fitzpatrick
On Mon, 2004-12-13 at 11:00, Miguel Mendez wrote: > > I was installing the mail/dspam port and the selection of options > > appeared for configuration, then after selecting, the configuration > > stopped with an error that I had selected too many back-end options. I > > did 'make distclean' and 'ma

Re: Cleaning port config options

2004-12-13 Thread Lowell Gilbert
Robert Fitzpatrick <[EMAIL PROTECTED]> writes: > I was installing the mail/dspam port and the selection of options > appeared for configuration, then after selecting, the configuration > stopped with an error that I had selected too many back-end options. I > did 'make distclean' and 'make clean',

Re: Cleaning port config options

2004-12-13 Thread Miguel Mendez
On Mon, 13 Dec 2004 10:38:17 -0500 Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: Hi, > I was installing the mail/dspam port and the selection of options > appeared for configuration, then after selecting, the configuration > stopped with an error that I had selected too many back-end options. I >

Re: cleaning

2003-10-22 Thread Kris Kennaway
On Wed, Oct 22, 2003 at 10:55:21AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote: > Rogue Spider wrote: > > >is there a freebsd equivalent to scandisk and > >diskdefrag so that i can clean the drive it says on > >start up that the dir are fragmented but after that i > >am unsertain. > > > > > > If

Re: cleaning

2003-10-22 Thread Jens Rehsack
Kevin D. Kinsey, DaleCo, S.P. wrote: Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is "fragmentation", it is cleaned up in the boot process (for 4.x)

RE: cleaning

2003-10-22 Thread Jason Lavigne
My understanding is FreeBSD is self cleaning, not like Windows. cheers Jay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rogue Spider Sent: Wednesday, October 22, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: cleaning is there a freebsd equivalent to

Re: cleaning

2003-10-22 Thread Kevin D. Kinsey, DaleCo, S.P.
Rogue Spider wrote: is there a freebsd equivalent to scandisk and diskdefrag so that i can clean the drive it says on start up that the dir are fragmented but after that i am unsertain. If there is "fragmentation", it is cleaned up in the boot process (for 4.x) or done in the background after b

Re: Cleaning Postfix queue (was: Qmail on FBSD is flooding)

2003-07-18 Thread jan.muenther
Hello, > I just came to think of if there might be a similar script for Postfix to > clean and/or check the mail queue? To check the mail queue simply run /usr/bin/mailq. To delete a mail from the queue, run 'postsuper -d queue_id', the ID being the ID value you got from mailq. 'postsuper -d

Re: [mail_lists] Re: cleaning out files

2003-04-05 Thread Jim
On Friday 04 April 2003 02:39, Stijn Hoop wrote: The best way is simply doing: bash]$ > filename This clears the file out without destroying any open file descriptors on the file. - Jim | On Fri, Apr 04, 2003 at 12:27:46PM +0200, CARTER Anthony wrote: | > How do I clean the contents of text f

Re: cleaning out files

2003-04-04 Thread parv
in message <[EMAIL PROTECTED]>, wrote Jan Grant thusly... > > On Fri, 4 Apr 2003, CARTER Anthony wrote: > > > How do I clean the contents of text files without actually > > removing the files? > > man 1 truncate > > This is a command-line utility that directly wraps the appropriate > system call

Re: cleaning out files

2003-04-04 Thread Jan Grant
On Fri, 4 Apr 2003, CARTER Anthony wrote: > How do I clean the contents of text files without actually removing the files? man 1 truncate This is a command-line utility that directly wraps the appropriate system call. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel

Re: [mail_lists] Re: cleaning out files

2003-04-04 Thread CARTER Anthony
Yep, I want to clean out my log files in /var/log, but some of the log files don't get re-created automatically (I get errors at bootup about some logs not existing) if I just rm them. Thanks, Anthony On Friday 04 April 2003 13:00, Jim wrote: > On Friday 04 April 2003 02:39, Stijn Hoop wrote:

Re: [mail_lists] Re: cleaning out files

2003-04-04 Thread Stijn Hoop
On Fri, Apr 04, 2003 at 03:00:52AM -0800, Jim wrote: > The best way is simply doing: > > bash]$ > filename > > This clears the file out without destroying any open file descriptors on the > file. Does echo -n 'destroy' an open file descriptor on the file? Does the above work with other shells?

Re: cleaning out files

2003-04-04 Thread Stijn Hoop
On Fri, Apr 04, 2003 at 12:27:46PM +0200, CARTER Anthony wrote: > How do I clean the contents of text files without actually removing the files? $ echo -n > $FILE Works for me, there are various other ways. You will end up with a 0-byte file, is that what you mean by 'cleaning'? --Stijn -- I r

Re: cleaning old messages from mailboxes

2003-02-06 Thread Dirk-Willem van Gulik
On Thu, 6 Feb 2003, Sergei Vyshenski wrote: > Something like a batch analog of "mail" utility? Check the 'formail' which comes with procmail. Dw. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

RE: Cleaning up /]

2002-11-05 Thread Danny.Carroll
What about /tmp ? You could symlink it to some other fs... > -Original Message- > From: Matthew Emmerton [mailto:matt@;gsicomp.on.ca] > Sent: 06 November 2002 00:40 > To: I am Insane; [EMAIL PROTECTED] > Subject: Re: Cleaning up /] > > > > I need some help. I&

Re: Cleaning up /]

2002-11-05 Thread Matthew Emmerton
> I need some help. I'm not a complete newbie but I'm new enough to not > know which files are actually needed in my / filesystem. > > my current df -k shows > > Filesystem 1K-blocks UsedAvail Capacity Mounted on > /dev/ad0s1a100750 82898 979289%/ > /dev/ad0s1g 10080382 76