I don't know if this is the right list, so bear with me.

There is a bug in the test or a readable /dev/zero. It assumes that
/dev/zero is a device, but at least on Solaris it is a link:

ls -l /dev/zero
lrwxrwxrwx   1 root other  27 Nov 26  2001 /dev/zero -> 
../devices/pseudo/[EMAIL PROTECTED]:zero

A better way would be to use "ls -lL":

ls -lL /dev/zero
crw-rw-rw-   1 root     sys       13, 12 Jan  2 12:59 /dev/zero

The capital "L" flag has no effect if the file is not a link.

-- 
blu

"The genius of you Americans is that you never make clear-cut stupid
  moves, only complicated stupid moves which make us wonder at the
  possibility that there may be something to them which we are missing."
  - Gamal Abdel Nasser
----------------------------------------------------------------------
Brian Utterback - Solaris RPE, Sun Microsystems, Inc.
Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Autogen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to