Date: Fri, 14 Jan 2011 00:58:06 -0800 From: perryh@pluto.rain.com To: xaero@xaerolimit.net Cc: swegill@gmail.com, ken@mthelicon.com, freebsd-questions@freebsd.org Subject: Re: httpd-modsec2_debug.log: Operation not permitted Message-ID: <4d30101e.UerCiI6ZYMfbsVlm%perryh@pluto.rain.com> In-Reply-To: <AANLkTi=jWTWY-tjrOV8GEZyPWGL6iPEQpvckBnMKwBPx@mail.gmail.com> References: <AANLkTimk-EXkEKQ80QVBg5utpbt3SU1LK_eAvSfk6Skt@mail.gmail.com> <000301cbb307$49788810$dc699830$@com> <AANLkTik%2Bsb96kA=R8Bv5uSSc7ZeC-JSDYJb9%2BQhQ=oE5@mail.gmail.com> <AANLkTin4-BwqtaxC1Qy0dABKOGj4Y5XyjM7SiDmSSkeT@mail.gmail.com> <AANLkTi=qMBswOhgJH5=uucHcXH7LwrtwZHSz_pTdJF7O@mail.gmail.com> <AANLkTi=ume7fwpV91VuzCMkv5krVhdAdGjO6Wb%2B6AJL3@mail.gmail.com> <AANLkTimkY0mNB%2BDyX0kd_7KxfoPy2ccUTAH361LLQoBa@mail.gmail.com> <AANLkTi=jWTWY-tjrOV8GEZyPWGL6iPEQpvckBnMKwBPx@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Brennan <xaero@xaerolimit.net> wrote: > ... I believe rm (-f) still requires *SOME* free space on a device > to delete something. That being said, do you have more then 50G > free elsewhere on the system? Say /home (/usr/home)? If you do, mv > the file from /var/log to /usr/home. This would effectively delete > it from /var/log and free up it's space ... Er, had you considered that mv, when the target and source are on different filesystems, does a cp followed by an rm? If rm requires free space -- which I very much doubt on UFS unless a snapshot exists -- the rm step of the mv is going to run into exactly the same problem that the standalone rm runs into.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d30101e.UerCiI6ZYMfbsVlm%perryh>