Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 1998 13:16:51 -0500 (EST)
From:      Leo Bicknell <bicknell@ufp.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/6202: No way to detect removable media.
Message-ID:  <199804031816.NAA01770@ussenterprise.ufp.org>

next in thread | raw e-mail | index | archive | help

>Number:         6202
>Category:       bin
>Synopsis:       No way to detect removable media.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr  3 10:20:01 PST 1998
>Last-Modified:
>Originator:     Leo Bicknell
>Organization:
United Federation Of Planets
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	IDE based ZIP disk drive in a Pentium class FreeBSD system.

>Description:

	There appears to be no standard, reliable method for determining
if a removable media drive (eg, my ZIP disk, or a Floppy Drive) contains
media.  Attempting a mount is not good enough, as the disk may have
several different types of file systems on it, or no file system at
all (eg, raw tar archive).

>How-To-Repeat:

	

>Fix:
	
	Suggest a new command that tests for the presence of meida
in a removable disk drive (which requires correct ioctl()'s as well),
suitable for use in a shell script.


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804031816.NAA01770>