home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / vmsnet / vmsposi / 6 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.7 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!mccall!tp
  2. From: tp@mccall.com (Terry Poot)
  3. Newsgroups: vmsnet.vms-posix
  4. Subject: Re: Device names in Posix
  5. Message-ID: <1992Aug12.125615@mccall.com>
  6. Date: 12 Aug 92 18:56:15 GMT
  7. References: <1992Aug7.123949.802@galaxy.gov.bc.ca> <1992Aug7.205104.24377@src.honeywell.com> <1992Aug7.163152.804@galaxy.gov.bc.ca>
  8. Reply-To: tp@mccall.com (Terry Poot)
  9. Organization: The McCall Pattern Co., Manhattan, KS, USA
  10. Lines: 62
  11. Nntp-Posting-Host: mis1
  12. Nntp-Posting-User: tp
  13.  
  14.  
  15. In article <1992Aug7.163152.804@galaxy.gov.bc.ca>, ewilts@galaxy.gov.bc.ca (Ed
  16. Wilts) writes:
  17. >UCX BIND DISK2 "/disk2"
  18. >UCX BIND BCSC$DISK2 "/bcsc$disk2"
  19.  
  20. I'm not sure which of 2 possible questions you are asking, so:
  21.  
  22. I don't use UCX BIND, I use POSIX 'mount'. It works fine for me using a logical
  23. name for the device name, for instance:
  24.  
  25. psx> mount 'x1:' /x1
  26. psx> mount
  27. ...
  28. MIS1$DKA500: on /x1
  29.  
  30. >
  31. >where BCSC$DISK2 is a logical name pointing to DISK2
  32. >
  33. >This gives me the error message:
  34. >BINDERROR, Error processing BIND or UNBIND request
  35. >DEVMOUNT, device is already mounted
  36.  
  37. If you want to provide 2 directories mapped to the same device, how about
  38. symbolically linking one of them to the other? BIND one of them, and then within
  39. Posix use ln -s to link the additional device name to the one you bound.0
  40.  
  41. >
  42. >The problem is that we multiple logical names pointing to the same physical
  43. >device.  For example, we may have another group ENV$DISK1 that also points to
  44. >DISK2.  The user's default may be something like
  45. >BCSC$DISK2:[BCSC.USERS.EWILTS]
  46.  
  47. Is that the only reason you want to do this? Why do you need it. Consider the
  48. following:
  49.  
  50. MIS1$ sh def
  51.   PSRC:[MISC]
  52. MIS1$ sh log psrc
  53.    "PSRC" = "X1:[PUBLIC.]" (LNM$SYSTEM_TABLE)
  54. MIS1$ posix
  55. psx> pwd
  56. /x1/public/misc
  57. psx>
  58.  
  59. (The output of mount showing /x1 is above.) Note that in this case my default
  60. was to a directory using a rooted logical, and it still got it right. It appears
  61. to:
  62.  
  63. 1) Translate the current default down to a physical device and directory string
  64. 2) Scan the mount table for that device, and use that as the first element of 
  65.    the path.
  66. 3) Attach the directory spec, suitably converted.
  67.  
  68. I've never seen it miss if the disk is actually mounted to posix. Did you do a
  69. POSIX 'mount' after the UCX BIND? The docs say that if you use UCX BIND you have
  70. to do a mount (no parameters) in POSIX for POSIX to recognize the newly bound
  71. device. Could that be your problem?
  72. --
  73. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  74. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  75. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  76.