Date: Mon, 29 Sep 2003 07:19:15 -0700 (PDT) From: Edwin Groothuis <edwin@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/sysutils/eject Makefileports/sysutils/eject/files patch-aa Message-ID: <200309291419.h8TEJF0N070860@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
edwin 2003/09/29 07:19:15 PDT FreeBSD ports repository Modified files: sysutils/eject Makefile sysutils/eject/files patch-aa Log: 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> Revision Changes Path 1.5 +1 -0 ports/sysutils/eject/Makefile 1.3 +32 -12 ports/sysutils/eject/files/patch-aa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309291419.h8TEJF0N070860>