Hi there 

As I'm into Java but have inherited a perl script for backups can anyone
relate to me how in perl you tell if a mount succeeds? 

eg.

smbmount of a PC's remote HDD to /mnt/remotedisk

How do I tell in perl-speak (ie without rewriting the whole thing in
Java) that the mount point succeeded. 

I'm happy to put a file on the remote HDD and search for it's existence
or some such.

If the mount fails, the root filesystem on the server fills as the
backup proceeds to /mnt/remotedisk. Aarrrgh.


TIA



Stu



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to