rpms/eject/F-13 eject-2.1.5-lock.patch,1.3,1.4 eject.spec,1.44,1.45

Kamil Dudka kdudka at fedoraproject.org
Fri Apr 9 09:27:43 UTC 2010


Author: kdudka

Update of /cvs/extras/rpms/eject/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4611

Modified Files:
	eject-2.1.5-lock.patch eject.spec 
Log Message:
- mention the option -i in eject(1) man page (#580389)

eject-2.1.5-lock.patch:
 eject.1 |   13 +++++++++++--
 eject.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 63 insertions(+), 4 deletions(-)

Index: eject-2.1.5-lock.patch
===================================================================
RCS file: /cvs/extras/rpms/eject/F-13/eject-2.1.5-lock.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- eject-2.1.5-lock.patch	2 Feb 2010 09:58:42 -0000	1.3
+++ eject-2.1.5-lock.patch	9 Apr 2010 09:27:42 -0000	1.4
@@ -1,3 +1,53 @@
+ eject.1 |   13 +++++++++++--
+ eject.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
+ 2 files changed, 63 insertions(+), 4 deletions(-)
+
+diff --git a/eject.1 b/eject.1
+index 3c388c6..315dc6d 100644
+--- a/eject.1
++++ b/eject.1
+@@ -17,6 +17,8 @@ eject [\-vn] \-a on|off|1|0 [<name>]
+ .br
+ eject [\-vn] \-c slot [<name>]
+ .br
++eject [\-vn] \-i on|off|1|0 [<name>]
++.br
+ eject [\-vn] \-t [<name>]
+ .br
+ eject [\-vn] \-T [<name>]
+@@ -83,6 +85,13 @@ for a change request to work. Please also note that the first slot of
+ the changer is referred to as 0, not 1.
+ 
+ .TP 0.5i
++.B \-i on|1|off|0
++This option controls locking of the hardware eject button. When
++enabled, the drive will not be ejected when the button is pressed.
++This is useful when you are carrying a laptop in a bag or case and
++don't want it to eject if the button is inadvertently pressed.
++
++.TP 0.5i
+ .B \-t
+ With this option the drive is given a CD-ROM tray close command. Not
+ all devices support this command.
+@@ -121,8 +130,8 @@ performed.
+ .B \-r
+ This option specifies that the drive should be ejected using a
+ CDROM eject command.
+-.TP 0.5i
+ 
++.TP 0.5i
+ .B \-s
+ This option specifies that the drive should be ejected using
+ SCSI commands.
+@@ -145,7 +154,7 @@ also passes the \-n option to umount(1).
+ .TP 0.5i
+ .B \-m
+ This option allows eject to work with device drivers which automatically
+-mount removable media and therefore must be always mount()ed.
++mount removable media and therefore must be always mount(1)ed.
+ The option tells eject to not try to unmount the given device,
+ even if it is mounted according to /etc/mtab or /proc/mounts.
+ 
 diff --git a/eject.c b/eject.c
 index 54e79f7..bfccd37 100644
 --- a/eject.c


Index: eject.spec
===================================================================
RCS file: /cvs/extras/rpms/eject/F-13/eject.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- eject.spec	2 Feb 2010 12:35:22 -0000	1.44
+++ eject.spec	9 Apr 2010 09:27:42 -0000	1.45
@@ -1,7 +1,7 @@
 Summary: A program that ejects removable media using software control
 Name: eject
 Version: 2.1.5
-Release: 17%{?dist}
+Release: 18%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source: http://metalab.unc.edu/pub/Linux/utils/disk-management/%{name}-%{version}.tar.gz
@@ -75,6 +75,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/*
 
 %changelog
+* Fri Apr 09 2010 Kamil Dudka <kdudka at redhat.com> 2.1.5-18
+- mention the option -i in eject(1) man page (#580389)
+
 * Tue Feb 02 2010 Kamil Dudka <kdudka at redhat.com> 2.1.5-17
 - eliminated rpmlint warnings (#225720)
 



More information about the scm-commits mailing list