2014-02-15 2 views
1

클리어 케이스의 vobs 트리 (/ vobs/something/something) 아래에 생성되었지만 체크인되지 않은 디렉토리에 명명 된 파이프를 만들려고합니다. 이 오류가 발생합니다 :클리어 케이스 vobs에서 mkfifo 명령이 실패했습니다

"mkfifo: No such device or address" 

다른 파일을 만드는 동안 파이프 생성이 실패하는 이유를 이해할 수 없습니다. Solaris 10을 사용하고 있습니다. vob에 명명 된 파이프를 만들 수있는 방법이 있습니까?

답변

0

/vobs/something/something은보기 집합이있는 MVFS 경로를 의미합니다 (cleartool setview).

먼저보기를 설정하는 대신 fumm 경로로 동일한 작업을 시도하십시오. "Python and ClearCase setview"에서 설명 하듯이 뷰를 설정하면 프로세스에 대한 모든 종류의 부작용 (환경 변수 및 기타 상속받지 않는 속성의 용어로)을 갖는 하위 쉘이 작성됩니다.

/views/MyView/vobs/something/something에서 시도해보십시오.


둘째, 파이프에 대하여, this thread applies to your case 있는지 확인 :

Just off the top of my head if you using a pipe and not a file, then it should be specified something like this ..

destination my_pipe pipe("/data/pipes/net_pipe"); 

rather than

destination my_file file("/data/pipes/net_pipe"); 

참고 그 ClearCase up to 7.0.x

ClearCase does not support adding to source control special files such as named pipes, fifos or device files. There are no type mangers available to manage these special files.

Note: Attempts to execute these files in the MVFS is not supported.

WORKAROUNDS:

  • Keep multiple versions of directories with device files outside of a VOB and versioned directories/symlinks in a VOB to point to correct directory location outside the VOB.
  • Keep a tar or zip archive of the tree with device files in the VOB, and extract it to a temporary workspace when needed in the development process.
+0

도움 주셔서 감사합니다. FIFO를 만들려면 다른 곳을 선택해야 할 것 같습니다. – dvai

관련 문제