S_ISBLK still useful?

Matthew Dillon dillon at apollo.backplane.com
Mon Jul 14 15:17:45 PDT 2008


:
:Hey,
:
:we stopped having dedicated block devices long ago.  Now some programs 
:still check for S_ISBLK.  I wonder, should we make S_ISBLK behave like 
:S_ISCHR?
:
:cheers
:   simon

    No, I'd say we should just leave it alone for now.  If we 
    give them the same ID any third party program switch()ing on it
    will have compile errors.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Kernel mailing list