Bug 83719 - [patch] teach eject to open devices specified with /dev/ prefix
Summary: [patch] teach eject to open devices specified with /dev/ prefix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 13:30 UTC by Stefan Sperling
Modified: 2005-07-19 21:48 UTC (History)
0 users

See Also:


Attachments
file.diff (1.16 KB, patch)
2005-07-19 13:30 UTC, Stefan Sperling
no flags Details | Diff
file.diff (449 bytes, patch)
2005-07-19 13:30 UTC, Stefan Sperling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!