Ambrose Li wrote:
On 21/09/2007, Rich Rauenzahn <[EMAIL PROTECTED]> wrote:
Not familiar with MACs -- but -- shouldn't the mountpoint have
permissions such that only the OS can add directories?
That's not exactly how things work on Macs. They have a /tmp-like
directory /Volumes in whi
On 21/09/2007, Rich Rauenzahn <[EMAIL PROTECTED]> wrote:
> Not familiar with MACs -- but -- shouldn't the mountpoint have
> permissions such that only the OS can add directories?
That's not exactly how things work on Macs. They have a /tmp-like
directory /Volumes in which mount points can be creat
Kimball Larsen wrote:
> Hey, that's a good idea. You certainly did not misunderstand the
> problem, and I believe that will work. I do wish that there was a
> way to prevent backuppc from even creating the filesystem in the
> first place, but having a script clean it up is ok.
>
>
Not
I've used the following method before to check if a filesystem is mounted:
1) put a hidden file in the mounted filesystem, for instance .goodfile.txt
2) put something like this in a script:
if [ -f /path/to/filesystem/.goodfile.txt ]
then
echo "filesystem is mounted proper
Ambrose,
On Sep 20, 2007, at 8:43 PM, Ambrose Li wrote:
> On 20/09/2007, Stephen Joyce <[EMAIL PROTECTED]> wrote:
>> Use 'mount' instead of checking for directory existence to
>> determine if the
>> filesystem is mounted and return the corresponding exit status? (if
>> backuppc has created the
Stephen,
On Sep 20, 2007, at 8:18 PM, Stephen Joyce wrote:
> Use 'mount' instead of checking for directory existence to
> determine if the filesystem is mounted and return the corresponding
> exit status? (if backuppc has created the directory structure on
> the main drive instead of a moun
On 20/09/2007, Stephen Joyce <[EMAIL PROTECTED]> wrote:
> Use 'mount' instead of checking for directory existence to determine if the
> filesystem is mounted and return the corresponding exit status? (if
> backuppc has created the directory structure on the main drive instead of
> a mounted one, it
Use 'mount' instead of checking for directory existence to determine if the
filesystem is mounted and return the corresponding exit status? (if
backuppc has created the directory structure on the main drive instead of
a mounted one, it's safe to remove inside the script. Use 'rm' on each
level
Ok, I've done a bunch more research into this, and discovered the
problem:
backuppc creates the target directories for the backup destination
BEFORE it calls BackupPC_dump, so my pre conditions are always
returning true, because BackupPC just created the necessary file
structure.
So, I'
(Sorry for the re-post - I realized I forgot to put on a subject last
time)
Hokay, I'm stuck. I give. I need help.
The documentation for UserCmdCheckStatus says:
"Whether the exit status of each PreUserCmd and PostUserCmd is
checked.
"If set and the Dump/Restore/Archive Pre/Post
10 matches
Mail list logo