Last change
on this file since 30171d8 was 30171d8, checked in by Joe Ciccone <jciccone@…>, 17 years ago |
Add a devicemapper bootscript to run dmsetup mknodes right after udev. this will make any nodes that have been created in an early userspace.
|
-
Property mode
set to
100644
|
File size:
633 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | ########################################################################
|
---|
3 | # Begin $rc_base/init.d/devmapper
|
---|
4 | #
|
---|
5 | # Description : Creates device mapper nodes that may have been created in an
|
---|
6 | # early userspace.
|
---|
7 | #
|
---|
8 | # Authors : Joe Ciccone <jciccone@gmail.com>
|
---|
9 | #
|
---|
10 | # Version : 00.01
|
---|
11 | #
|
---|
12 | # Notes :
|
---|
13 | #
|
---|
14 | ########################################################################
|
---|
15 |
|
---|
16 | . /etc/sysconfig/rc
|
---|
17 | . ${rc_functions}
|
---|
18 |
|
---|
19 | case "${1}" in
|
---|
20 | start)
|
---|
21 | boot_mesg "Running dmsetup mknodes..."
|
---|
22 | /sbin/dmsetup mknodes
|
---|
23 | evaluate_retval
|
---|
24 | ;;
|
---|
25 | *)
|
---|
26 | echo "Usage: ${0} {start}"
|
---|
27 | exit 1
|
---|
28 | ;;
|
---|
29 | esac
|
---|
30 |
|
---|
31 | # End $rc_base/init.d/devmapper
|
---|
Note:
See
TracBrowser
for help on using the repository browser.