This is the mail archive of the
mailing list for the Cygwin project.
hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system
- From: L A Walsh <cygwin at tlinx dot org>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 10 Jan 2017 20:43:34 -0800
- Subject: hang on 'cat /proc/mounts' when one of the network drives is on a 'down' system
- Authentication-results: sourceware.org; auth=none
I noticed my local terminals were not opening w/a shell prompt, but
would timeout if I waited long enough...(1-2 minutes? maybe?).
Turns out, one of my mounted net-drives was a down-system, so
if I was trying to access the drive (or content on it), I can see
But what about "cat /proc/mounts" which is dumping out text
Z: /z ntfs binary,user,noumount,auto 1 1
should require accessing and hanging for a few minutes?
Is it determining the network file type? Wouldn't that
remain constant for a given session (like I doubt that
ntfs would exchange with smbfs and go back on fixed IP
I've tried using 'timeout', but it doesn't seem to work:
read -t proc_mounts < <(timeout -k 2 1 cat /proc/mounts)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple