SUMMARY: automounting VMS disks

From: Claudio Strizzolo <Claudio.Strizzolo_at_trieste.infn.it>
Date: Mon, 5 May 1997 10:29:05 +0200 (CET-DST)

Hi everybody,
        many people answered the following request, that I submitted to
the list last week:

> I am trying to turn to automount some disks that are currently
> mounted through fstab. No problem with Unix disks. However, I do not
> succeed when trying to mount VMS disks. In /etc/fstab I have entries such
> as:
>
> vtsa10:disk$delphi /delphi nfs rw,bg,soft 1 2
>
> and this worked well. But when I translate them into the automount maps like
> this:
>
> /delphi -rw,bg,soft vtsa10:disk$delphi
>
> it does not works because it reads "$delphi" as a variable. I also tried
> to include vtsa10:disk$delphi like these:
>
> "vtsa10:disk$delphi"
> `vtsa10:disk$delphi`
> 'vtsa10:disk$delphi'
> ``vtsa10:disk$delphi``
>
> but it did not work.
> Any hint?

All of them pointed to two solutions. I report the answer that I received
from Dr. Thomas P. Blinn, which was the first to include both:

> 1) Did you try putting a backslash in front of the "$"? It *might* work;
> you might need more than one (three, five, seven) depending on how many
> levels of interpretation are occurring.
>
> 2) Fix the VMS systems to not use "$" in the disk names. Underscore (_) is
> much safer.
  
The first suggestion did not work, at least with one and three backslashes.
The second one worked quite well, instead, then it is the one I adopted.

Thanks to all who replied.
      
        Claudio Strizzolo (strizzolo_at_trieste.infn.it)
Received on Mon May 05 1997 - 11:18:44 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT