A brief history of union mounts
A brief history of union mounts
Posted Jul 24, 2010 18:16 UTC (Sat) by nix (subscriber, #2304)In reply to: A brief history of union mounts by neilbrown
Parent article: A brief history of union mounts
You do get EINTR on read from a regular file if you're unlucky enough to have that file on a network device (e.g. NFS with intr turned on). And before you say 'don't do that then', before very recently we had a choice of turning intr on or losing the whole mount point and very shortly afterwards often the whole machine if the network went down. (And, yes, I have encountered both short reads and EINTR in NFS-based regular file reads on both Linux and Solaris. So it does happen.)
(Also, POSIX doesn't ban getting EINTR on reads from a regular file, so prudence dictates expecting it.)