Author: alexander
Date: 2005-11-17 07:51:22 -0700 (Thu, 17 Nov 2005)
New Revision: 1084
Modified:
branches/dm/etc/fstab
branches/dm/packages/lfs-bootscripts/udev
branches/dm/packages/udev/Makefile
Log:
Updated udev rules version
Added "dmsetup mknodes" to the udev initscript
Made some cosmetic modifications to /etc/fstab
Modified: branches/dm/etc/fstab
===================================================================
--- branches/dm/etc/fstab 2005-11-17 08:49:01 UTC (rev 1083)
+++ branches/dm/etc/fstab 2005-11-17 14:51:22 UTC (rev 1084)
@@ -1,10 +1,10 @@
# Begin /etc/fstab
-# filesystem mount-point fs-type options dump
fsck-order
-devmapper / ext2 defaults 0 0
-proc /proc proc defaults 0 0
-sysfs /sys sysfs defaults 0 0
-devpts /dev/pts devpts gid=4,mode=620 0 0
-# tmpfs /dev/shm tmpfs defaults 0 0
+# filesystem mount-point fs-type options dump
fsck-order
+/dev/mapper/lfs-cd / ext2 defaults 0 0
+proc /proc proc defaults 0 0
+sysfs /sys sysfs defaults 0 0
+devpts /dev/pts devpts gid=4,mode=620 0 0
+# tmpfs /dev/shm tmpfs defaults
0 0
# End /etc/fstab
Modified: branches/dm/packages/lfs-bootscripts/udev
===================================================================
--- branches/dm/packages/lfs-bootscripts/udev 2005-11-17 08:49:01 UTC (rev
1083)
+++ branches/dm/packages/lfs-bootscripts/udev 2005-11-17 14:51:22 UTC (rev
1084)
@@ -24,7 +24,7 @@
echo /sbin/udevsend > /proc/sys/kernel/hotplug
# Populate /dev with all the devices that are already available,
- UDEV_RUN=0 udevstart
+ udevstart && dmsetup mknodes
evaluate_retval
;;
Modified: branches/dm/packages/udev/Makefile
===================================================================
--- branches/dm/packages/udev/Makefile 2005-11-17 08:49:01 UTC (rev 1083)
+++ branches/dm/packages/udev/Makefile 2005-11-17 14:51:22 UTC (rev 1084)
@@ -8,9 +8,9 @@
URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
SHA-$(FILE)= 99554141df9d8333eeeb37276ada5cdafb080e3c
-CONFIG1= $(NM)-config-4.rules
+CONFIG1= $(NM)-config-5.rules
URL-$(CONFIG1)= $(HTTP)/$(NM)/$(CONFIG1)
-SHA-$(CONFIG1)= 569afe7608bc3058d42948280b778fcacd1d8c96
+SHA-$(CONFIG1)= 648115cb81e7507488d151e79fd297abd680aa02
# Targets
@@ -32,10 +32,8 @@
EXTRAS=extras/run_directory/
endif
make DESTDIR=/ EXTRAS=extras/run_directory/ install
- sed '/KERNEL==.dm-/d' $(SRC)/$(CONFIG1) >/etc/udev/rules.d/25-lfs.rules
- echo 'KERNEL=="device-mapper", NAME="mapper/control"'
>>/etc/udev/rules.d/25-lfs.rules
- echo 'KERNEL=="dm-*", NAME=""' >>/etc/udev/rules.d/25-lfs.rules
- echo 'RUN+="/sbin/udev_run_hotplugd"' >>/etc/udev/rules.d/25-lfs.rules
+ cp $(SRC)/$(CONFIG1) /etc/udev/rules.d/25-lfs.rules
+ echo 'KERNEL=="device-mapper", NAME=""' >>/etc/udev/rules.d/25-lfs.rules
install -m644 -D docs/writing_udev_rules/index.html \
/usr/share/doc/$(DIR)/index.html
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page