Hello All, How can I get disk’s dev link name (which is in the form /dev/dsk/CxTyDz) from libdevinfo if I have its corresponding physical path?
Eg: When I do “ls -l /dev/dsk/c1t0d0s0” the output is # ls -l /dev/dsk/c1t0d0s0 lrwxrwxrwx 1 root root 43 Jun 3 16:32 /dev/dsk/c1t0d0s0 -> ../../devices/p...@1c,600000/s...@2/s...@0,0:a Now I want to write a function which would accept a disk’s physical path (/devices/p...@1c,600000/s...@2/s...@0,0:a ) and find its matching dev link node (/dev/dsk/c1t0d0s0) Thanks in advance, - Damitri -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code