kern/85975: devfs does not create entries when removable media is inserted

Andre Albsmeier Andre.Albsmeier at siemens.com
Sun Sep 11 07:20:13 PDT 2005


>Number:         85975
>Category:       kern
>Synopsis:       devfs does not create entries when removable media is inserted
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 14:20:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

- FreeBSD 5.4-STABLE #2: Thu Aug 25 14:04:58 CEST 2005
- iomega jaz 2GB E.17

>Description:

devfs does not create slice entries when media
containing slices is inserted into drive.

>How-To-Repeat:

(I use the above mentioned iomega jaz 2GB E.17 configured
as da10 but a ZIP drive produces the same result.)

1. Boot machine without media in the jaz drive. Note the
   /dev/da10 device entry.

2. Insert a jaz disk containing an msdos fs in the first
   slice. Trying to mount /dev/da10s1 fails since no
   entry has been created.

The /dev/da10s1 entry is created after opening /dev/da10
for writing(!) using open(2) in a small C programme.

>Fix:

Unknown. Fix devfs or remove it (nobody needs this anyway).
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list