Here is what strace shows:
recv(8, 0xbfced218, 8, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable) sendmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=-4298, groups=00000000}, msg_iov(2)=[{"libudev\0\376\355\312\376(\0\0\0(\0\0\0\322\0\0\0\360\3\35\267{\313\305\356"..., 40}, {"UDEV_LOG=3\0ACTION=change\0DEVPATH"..., 210}], msg_controllen=0, msg_flags=0}, 0) = 250 poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, -1) = 1 ([{fd=8, revents=POLLIN}]) recv(8, "\341\17\0\0\0\0\0\0", 8, MSG_DONTWAIT) = 8 _llseek(3, 0, [11513544], SEEK_CUR) = 0 write(3, "\351\260\0\0\0\0\0\0\0\0", 10) = 10 recv(8, 0xbfced218, 8, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable) sendmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=-4298, groups=00000000}, msg_iov(2)=[{"libudev\0\376\355\312\376(\0\0\0(\0\0\0\322\0\0\0\360\3\35\267{\313\305\356"..., 40}, {"UDEV_LOG=3\0ACTION=change\0DEVPATH"..., 210}], msg_controllen=0, msg_flags=0}, 0) = 250 poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, -1) = 1 ([{fd=8, revents=POLLIN}]) recv(8, "\341\17\0\0\0\0\0\0", 8, MSG_DONTWAIT) = 8 _llseek(3, 0, [11513554], SEEK_CUR) = 0 write(3, "\352\260\0\0\0\0\0\0\0\0", 10) = 10
Here is what strace shows:
recv(8, 0xbfced218, 8, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable) 12)={sa_ family= AF_NETLINK, pid=-4298, groups=00000000}, msg_iov( 2)=[{"libudev\ 0\376\355\ 312\376( \0\0\0( \0\0\0\ 322\0\0\ 0\360\3\ 35\267{ \313\305\ 356"... , 40}, {"UDEV_ LOG=3\0ACTION= change\ 0DEVPATH" ..., 210}], msg_controllen=0, msg_flags=0}, 0) = 250 0\0\0\0\ 0\0", 8, MSG_DONTWAIT) = 8 0\0\0\0\ 0\0\0\0" , 10) = 10 12)={sa_ family= AF_NETLINK, pid=-4298, groups=00000000}, msg_iov( 2)=[{"libudev\ 0\376\355\ 312\376( \0\0\0( \0\0\0\ 322\0\0\ 0\360\3\ 35\267{ \313\305\ 356"... , 40}, {"UDEV_ LOG=3\0ACTION= change\ 0DEVPATH" ..., 210}], msg_controllen=0, msg_flags=0}, 0) = 250 0\0\0\0\ 0\0", 8, MSG_DONTWAIT) = 8 0\0\0\0\ 0\0\0\0" , 10) = 10
sendmsg(5, {msg_name(
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, -1) = 1 ([{fd=8, revents=POLLIN}])
recv(8, "\341\17\
_llseek(3, 0, [11513544], SEEK_CUR) = 0
write(3, "\351\260\
recv(8, 0xbfced218, 8, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(5, {msg_name(
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 5, -1) = 1 ([{fd=8, revents=POLLIN}])
recv(8, "\341\17\
_llseek(3, 0, [11513554], SEEK_CUR) = 0
write(3, "\352\260\