Bug 83719

Summary: [patch] teach eject to open devices specified with /dev/ prefix
Product: Ports & Packages Reporter: Stefan Sperling <stsp>
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Stefan Sperling 2005-07-19 13:30:31 UTC
	The eject program currently only accepts devices specified with their
	plain name, e.g. acd0, instead of /dev/acd0. This is a minor nuisance
	for people coming from linux, since the linux eject accepts devices
	with their full path. It might also break applications that expect
	the eject program to accept a full path to the device file.

Fix: Please put these two patches into /usr/ports/sysutiles/eject/files,
	and forward upstream if appropriate.
	The first patch obsoletes the file patch-eject.c that is currently
	applied to the port.

	patch-aa:

patch-ab:
How-To-Repeat: 	Try 'eject /dev/<device>'. It won't work.
	'eject <device>' in turn will work.
Comment 1 Pav Lucistnik freebsd_committer 2005-07-19 20:39:34 UTC
Dear maintainer of FreeBSD port sysutils/eject, please take a look at

http://www.freebsd.org/cgi/query-pr.cgi?q=83719

Do you approve this patch?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Define universe and tell me three examples.
Comment 2 Pav Lucistnik freebsd_committer 2005-07-19 20:39:36 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval 


Comment 3 Pav Lucistnik freebsd_committer 2005-07-19 20:39:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 4 Sylvio Cesar 2005-07-19 20:50:27 UTC
yes. It is correct.

On 7/19/05, Pav Lucistnik <pav@freebsd.org> wrote:
> Dear maintainer of FreeBSD port sysutils/eject, please take a look at
>=20
> http://www.freebsd.org/cgi/query-pr.cgi?q=3D83719
>=20
> Do you approve this patch?
>=20
> --
> Pav Lucistnik <pav@oook.cz>
>               <pav@FreeBSD.org>
>=20
> Define universe and tell me three examples.
>
Comment 5 Pav Lucistnik freebsd_committer 2005-07-19 21:48:34 UTC
State Changed
From-To: feedback->closed

Committed, thanks!