Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Block device tests



On May 28,  4:06pm, Bart Schaefer wrote:
}
} Hmm.  Are there other platforms that don't HAVE_PATH_FD where process
} substitution does work?

That reminds me:  Can anyone think of a portable test for whether the
current directory is on an NFS filesystem?  The best I could come up
with is `df . | grep :/' but I don't think `df' works appropriately on
all platforms.  `mkfifo' and friends fail on older versions of NFS but
seem to work on linux, and anyway that'd be hard to distinguish from
an OS where `mknod ... p' or `mkfifo' never work.  I'm prety sure that
only GNU can `find . -fstype nfs -prune'.  What else?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author