[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mls-users
Subject:    Re: [mls-users] Tested Load with MLS?
From:       Max Clark <max.clark () ussearch ! com>
Date:       2001-11-13 23:03:14
[Download RAW message or body]

Thank you all for you help... I am going to set this up tonight.

-Max

Theo Schlossnagle wrote:

> On Tuesday, November 13, 2001, at 02:18  PM, George Schlossnagle wrote:
>
>>> Moving the file will just change its name and not it's inode.  So
>>> spreadlogd will continue to write to the old file until HUPed.  
>>> Then, as
>>> soon as it is HUPed it will reopen the file under the old name and 
>>> start
>>> over.  Just like you want.
>>
>>
>> To nitpick, this is only true if you move it within the same fs.
>
>
> True. true.  In which case you should move it in the same fs, HUP 
> spreadlogd and then move it to your other fs.  Technically mv is a 
> wrapper around rename().  Rename cannot move files across filesystem 
> boundaries.  So, your mv command is doing something behind your back 
> (like copy).  These implementation specifics will most likely result 
> in lost logs if you were to mv across fs boundaries and then HUP.
>
> -- 
> Theo Schlossnagle
> 1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
> 2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7


-- 
 Maxwell Clark
 max.clark@ussearch.com
 310) 302-6337 direct
 801) 761-0926 fax 




_______________________________________________
mls-users mailing list
mls-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/mls-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic