From nobody@FreeBSD.ORG  Sat Nov  4 05:22:19 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 3B20D37B4C5; Sat,  4 Nov 2000 05:22:19 -0800 (PST)
Message-Id: <20001104132219.3B20D37B4C5@hub.freebsd.org>
Date: Sat,  4 Nov 2000 05:22:19 -0800 (PST)
From: rbt@zort.on.ca
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: CDRoms checked during shutdown (umount)
X-Send-Pr-Version: www-1.0

>Number:         22602
>Category:       kern
>Synopsis:       CDRoms checked during shutdown (umount)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 04 05:30:01 PST 2000
>Closed-Date:    Sun Aug 11 14:34:41 PDT 2002
>Last-Modified:  Sun Aug 11 14:34:41 PDT 2002
>Originator:     Rod Taylor
>Release:        4.1.1-STABLE
>Organization:
>Environment:
FreeBSD peon.zort.on.ca 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Fri Nov  3 09:55:22 EST 2000     rbt@peon.zort.on.ca:/usr/obj/usr/src/sys/KNIGHT  i386
>Description:
CDRoms are scanned during umount.  You can notice activity during this process.

/dev/acd0c              /export/cdrom/0 cd9660  ro,noauto       0       0

It's my believe that a read only mount shouldn't need to be checked before unmounting it.
>How-To-Repeat:
Mount a cdrom, then umount it while watching for activity.  Especially noticible on cdrom changers as they have to switch disks.

In my case, shutdown takes an extra 30 seconds while the cdrom drives are unmounted.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 11 14:25:31 PDT 2002 
State-Changed-Why:  

I presume that this access is necessary in order to unlock the tray 
so that you can eject the CD after it has been unmounted. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22602 
>Unformatted:
