Penguin

Differences between current version and previous revision of ENODEV.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Thursday, August 21, 2003 12:09:00 pm by JohnMcPherson
Older page: version 3 Last edited on Wednesday, August 20, 2003 2:40:16 pm by JohnMcPherson Revert
@@ -1,9 +1,12 @@
 !!!No such device 
  
 The device you are trying to access doesn't exist, or the drivers for this device aren't loaded. This can occur if you refer to a file in /dev that has no driver loaded for it, or when loading a driver if no hardware exists. 
+  
+Note the following quote from open(2) in the Errors section:  
+;ENODEV: pathname refers to a device special file and no corresponding device exists. (This is a Linux kernel bug - in this situation [ENXIO] must be returned.)  
  
 It is also quite common to see this under linux if you try to load a device driver and the driver can't find the corresponding hardware (for example, you've given the driver the wrong options). 
  
 This message can also be given when a process has a file handle open for a removable device (such as a [USB] or [SCSI]) which is then removed... further use of the file handle should result in this error message. 
  
 Compare [ENOMEDIUM]