. lstat("/path/link/"), "" - . , lstat("/path/link") ( ). , python ( , , ):
$ ln -s /etc /tmp/foo
>>> from posix import lstat
>>> lstat("/tmp/foo")
(41471, 24591, 64769L, 1, 1095, 501, 4, 1298667395, 1298667395, 1298667395)
>>> lstat("/tmp/foo/")
(16877, 131073, 64768L, 119, 0, 0, 12288, 1298663835, 1298667375, 1298667375)