[Mono-list] Unable to get block device size in UnixStream

Dragony cschmid at rapidshare.com
Tue Jan 29 08:46:21 UTC 2013


Hi

I want to get the device size of /dev/sda. I have an open fd and a
UnixStream, but .Length always returns 0. Is there a POSIX call or something
else to get the device size?

Mono JIT compiler version 3.0.1 (Debian 3.0.1+dfsg-1~exp1~pre1)




--
View this message in context: http://mono.1490590.n4.nabble.com/Unable-to-get-block-device-size-in-UnixStream-tp4658310.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list