From: Stephen Williams <steve@icarus.com>
To: linux-hotplug@vger.kernel.org
Subject: Modification to install in support of usb remover
Date: Fri, 08 Jun 2001 19:05:07 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-99202722720702@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
Here are diffs to the hotplug.spec file that creates the /var/run/usb
directory (with correct permissions) at install time. This should
finish up the usb remover support. I've updated the README to include
mention of the /var/run/usb directory, and I've included in the spec
file the steps to make the directory. I've only bumped the spec release
number because this is harmless to the named release.
I've included the diffs. I can do the commit myself, but I just
want to check first that this is OK with the existing cadre.
--
Steve Williams "The woods are lovely, dark and deep.
steve@icarus.com But I have promises to keep,
steve@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
[-- Attachment #2: foo --]
[-- Type: text/plain , Size: 1890 bytes --]
Index: README
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/README,v
retrieving revision 1.5
diff -u -r1.5 README
--- README 2001/04/19 22:32:24 1.5
+++ README 2001/06/08 19:02:08
@@ -61,8 +61,13 @@
# mkdir -p /etc/hotplug
# cp -r etc/hotplug/* /etc/hotplug
-
- (4) Make your system start hotplugging (and maybe coldplugging,
+
+ (4) Make the directory in /var/run for use remove support:
+
+ # mkdir -p /var/run/usb
+ # chmod 600 /var/run/usb
+
+ (5) Make your system start hotplugging (and maybe coldplugging,
if you installed the right usb and pci utilities) after it's
booted and filesystems are mounted. On RedHat systems:
Index: hotplug.spec
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/hotplug.spec,v
retrieving revision 1.10
diff -u -r1.10 hotplug.spec
--- hotplug.spec 2001/04/24 18:21:26 1.10
+++ hotplug.spec 2001/06/08 19:02:08
@@ -1,7 +1,7 @@
Summary: Linux Hotplug Scripts
Name: hotplug
Version: 2001_04_24
-Release: 1
+Release: 2
Group: Applications/System
License: GPL
Url: http://linux-hotplug.sourceforge.net/
@@ -24,6 +24,7 @@
mkdir -p ${RPM_BUILD_ROOT}/sbin
mkdir -p ${RPM_BUILD_ROOT}/etc/hotplug
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
+mkdir -p ${RPM_BUILD_ROOT}/var/run/usb
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
# install the main hotplug script
@@ -39,6 +40,8 @@
cp -a *.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
%files
+%attr(0600,root,root) %dir /var/run/usb
+
%defattr(-,root,root)
/sbin/*
/etc/rc.d/init.d/*
@@ -64,6 +67,9 @@
%changelog
+* Fri Jun 8 2001 Steve Williams <steve@icarus.com>
+- added the /var/run/usb directory to spec file
+
* Tue Apr 24 2001 Greg Kroah-Hartman <greg@kroah.com>
- added the hotplug.8 manpage written by Fumitoshi UKAI <ukai@debian.or.jp>
next reply other threads:[~2001-06-08 19:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 19:05 Stephen Williams [this message]
2001-06-08 19:24 ` Modification to install in support of usb remover Chmouel Boudjnah
2001-06-08 19:41 ` Stephen Williams
2001-06-11 16:12 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-99202722720702@msgid-missing \
--to=steve@icarus.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).