Automounted directories and the Open... dialog box

From: Walter F.J. Mueller (mueller@axp602.gsi.de)
Date: Wed May 12 1999 - 13:28:06 MEST


Hi,

With the Open... dialog box I'm having problems to access automounted
directories. The catch is, that there is no way to specify the directory
path in a text box. The only way to select a directory is by clicking on a
directory icon. This clearly fails in case of automounted directories, where
the mount point is dynamically created. In our Linux setup, for example, the
home directories are all accessed through autofs (or amd). So there is a
"/u" directory associated with a automounter map. The actual mountpoints
"/u/<username>" are generated dynamically, and will thus not show up as
directory icons in the Open... dialog.

Entering a directory name in the File box results in

   SysError in <TFile::TFile>: file /u/mueller can not be opened (Is a dir)

The current workaround is to enter the directory name in the "File name"
field, click Open. This give the error shown above, but because the directory
file was accessed, the automount took place. So just retrying the Open...
dialog now will display the directory icon.

It'll be helpful if the open dialog would recognize that a file is a
directory and handle it as a directory.

                        With best regards,      Walter

--
Walter F.J. Mueller   Mail:  W.F.J.Mueller@gsi.de
GSI,  Abteilung KP3   Phone: +49-6159-71-2766
D-64291 Darmstadt     FAX:   +49-6159-71-2989
WWW:   http://www-kp3.gsi.de/www/kp3/people/mueller.html
PGP:   http://www-kp3.gsi.de/~mueller/pgp.shtml



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:32 MET