1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Pav Lucistnik
c3ab96401b - Fix eject when media is mounted (unmount it)
- Add eject by mount point
- Add -t flag for closing tray
- While here, portlint, DOCSDIR, PLIST_FILES

PR:		ports/62201
Submitted by:	Przemek Laczynski <torindel@wp.pl>
2004-02-01 17:02:40 +00:00
Joe Marcus Clarke
380e61ac3c * Fix the intended functionality of the previous commit (i.e. /dev/<dev>c,
/dev/<dev>, and <dev> are all searched)
* Fix a potential buffer overflow introduced by the previous commit
* Fix a memory leak introduced in the previous commit
* Fix the case where <dev> is not a symlink
* Reset maintainer to ports@

Approved by:	shige (previous maintainer)
2003-12-24 20:44:41 +00:00
Edwin Groothuis
c8900826ad making sysutils/eject understand cdrom argument
The sysutils/eject port is quite useful to eject those
	cdroms and other removeable media. However, you need to
	know the "real" name of the device in order to eject it.

	Indeed, eject(1), given a "arg" argument tries to eject
	from the "/dev/argc" device, which is good, but could be
	better.

	The attached patch makes it look around a bit more, first
	in /dev/arg, then /dev/argc and just plain ./arg.

	Also, if the file found is a symlink, the patch makes eject
	unfold the link to find what device is behind it so it can
	umount it correctly.

PR:		ports/51008
Submitted by:	The Anarcat <anarcat@anarcat.ath.cx>
2003-09-29 14:19:15 +00:00
Shigeyuki Fukushima
d57d9f68e7 Fix fatal error when printing error message(using device message).
Submitted by:	Kenneth Ingham <ingham@i-pi.com>
2001-04-20 13:14:16 +00:00
Brian Feldman
0de16cac26 Fix several (of course, root-exploitable) buffer overflows. 2000-08-21 23:12:28 +00:00