[Veritas-vx] Clean Up device Trees and path_to_inst

jaganath@olemiss.edu jaganath at olemiss.edu
Wed Feb 26 07:13:20 CST 2003


>      -C    Cleanup mode. Prompts devfsadm to invoke
> cleanup  rou-
>            tines that are not normally invoked to remove
> dangling
>            logical links. If  -c  is  also  used,
> devfsadm  only
>            cleans up for the listed devices' classes.
>
>
> # ls -l c1t2d0s0
> lrwxrwxrwx   1 root     root          51 Jan 16 22:01
> c1t2d0s0 -> ../../devices/sbus at 1f,0/SUNW,fas at 0
> ,8800000/sd at 2,0:a # ls -l ../../devices/sbus at 1f,0/SUNW
> ,fas at 0,8800000/sd at 2,0:a brw-r-----   1 root     sys
> 32,256 Jan 16 22:01 ../../devices/sbus at 1f,0/SUNW,fas at 0
> ,8800000/sd at 2,0:a
> # devfsadm -C
>
> # ls -l c1t2d0s0
> c1t2d0s0: No such file or directory
> # ls -l ../../devices/sbus at 1f,0/SUNW,fas at 0,8800000/sd at 2
> ,0:a ../../devices/sbus at 1f,0/SUNW,fas at 0,8800000/sd at 2,0:a:
> No such file or directory
>   Scott


devfsadm -C is not perfect. See this posting from
comp.unix.solaris

http://groups.google.com/groups?q=devfsadm+to+clear+entries&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=alihiu$g7j$2@aken.eed.ericsson.se&rnum=1

> _______________________________________________
> Veritas-vx maillist  -  Veritas-vx at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
>



More information about the Veritas-vx mailing list