-1

I have a web application deployed on server let's say 'A'. On this server, We have created a mount point for /usr/local/B directory of Linux file system. Will I be able to check the content of this directory B from Java based web application deployed on server A? If yes then how?

A Kumar
  • 1
  • 1

1 Answers1

0

Mount point serves the very same way as physical drive and is transparent to applications. So yes, you will

Making mount points under /usr/local is generally bad idea. You have /mount partition for that

the.Legend
  • 626
  • 5
  • 13
  • Inside B directory I have another directory C, and I am trying to check if this directory exists or not with code: File f = new File("/C"); if(f.exists()){sysout("directory exists")}. Will this work or do I need to change the path in File object. – A Kumar Sep 05 '16 at 15:42