leveraging PFDSK

Jeremy Anderson jeremy at plunketts.net
Thu Sep 9 06:08:34 PDT 2004


John Esak wrote:

>
>No, it is accomplished through a more internal search mechanism which uses
>the mount table and similar basic paths. Note your first two paths on the
>working machine and how they are different from the ones you want to use.
>They are:
>
>   /appl/....
>   /appl2/....
>
>By changing to the way you have it you lose the mechnism filePro is actually
>using which is to search the mount table, and run any filePro files found in
>absolutely similar paths starting *after* the original mount name... in your
>case /appl and /appl2 both have filepro/filename/... after them and that is
>why they are found.
>  
>
>>In my script, I have tried setting PFDSK to be "/appl/test:/appl/test2",
>>but this does not work in the way which I expected.
>>Is what I'm trying to do possible?
>>If so, what is the best way to go about what I'm trying to do?
>>    
>>
>
>The PFDSK variable really means what it says... DSK or DISK... or volume...
>or mounted filesytem... like D:, E:, F: and /appl, /u/appl, /hd2, etc.
>  
>
/appl is not, however, a separate mount point from /
My reasoning was that under Unix, a directory and a mountpoint are not 
inherently different from an application point-of-view.  I suspect this 
is a case, however, where it is.


>
>I'm not sure what you want to do is possible. I think not. Maybe others can
>find a way...
>  
>
I thinkI can use symbolic links between the two...  Is this safe?  Can I 
dare just link the key into the directory with all the other stuff?  Or 
will filepro barf?  It appears to work when I test it on my Linux box, 
but I'm worried about unseen and delayed side-effects.


>	I think you can still do this sort of thing without having to split up
>everything so much. Is this a very crowded (not much disk space)system??
>  
>
It was.  I'm moving it to a new server, though, where disk space will be 
available a-plenty.  Until then, however, I need to make it work on the 
aged MP-RAS box, where space is precious.


On another subject, Ken asked about the values of PFDATA and PFDIR. 
This is what my script returns:

PFDATA is
PFDIR is /appl/test
PFDSK is /appl/test:/appl/test2


-- 
Jeremy Anderson			      jeremy (at) plunketts.net
IT Manager, Plunkett's Pest Control   Author, Multitool Linux



More information about the Filepro-list mailing list