X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2FREADME.Debian;h=866164d2f27d2d4fbeb105b32f82bd207eaba271;hb=4f6592884c730d7aeaad331c95b45c9a1b8455e9;hp=f78cae31d01d247db0c6f0cad302b52f86a3f4f8;hpb=cccdf8cb13ebfb453a713164f4c58a9b0e2f9e9b;p=grml-udev-config.git diff --git a/debian/README.Debian b/debian/README.Debian index f78cae3..866164d 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,62 +1,55 @@ grml-udev-config for Debian --------------------------- -grml.rules -========== -A custom rule file /etc/udev/z30_grml.rules is installed by the grml udev -package. This file contains a udev rule to map USB-Pendrives (or USB-Sticks) to -the /dev/external* device nodes (or symlinks respectively). This allows us to -easily mount USB-Sticks on a grml System and you don't risk to accidentialy -overwrite your SCSI/S-ATA disk. -Note: These rules are deprecated in favour of the grml_usbdev rules mentioned -below. Nevertheless this way of accessing USB-Pendrives is retained for -backwards compatibility reasons. - -grml_usbdev.rules -================= -The rule file /etc/udev/z31_grml_usbdev.rules is installed. The rules contained -in there allow simple access to USB devices like pendrives upon plugging them -in. You'll get according symlinks in /dev (prefixed with 'usb-'), entries in -/etc/fstab (via rebuildfstab) and directories in /mnt according to available -labeled filesystems for free. On removal of the usb device the symlinks and -usb*-directories in /mnt will automatically vanish. - -To prevent udev from automatically creating the directories and fstab entries -please rename the rules file by executing: - - mv z31_grml_usbdev.rules \#z31_grml_usbdev.rules - -inside the directory /etc/udev/rules.d - -Persistent network interfaces -============================= -Don't run write_net_rules on any occasion, it's evil on a Live-CD. The script is -still shipped and can be enabled manually to get persistent network interfaces -across reboots (e.g. after a hd-install). Just execute - - mv \#75_persistent-net-generator.rules 75_persistent-net-generator.rules - -in /etc/udev/rules.d and reload the udev rules with 'udevcontrol reload_rules' -(as root) - -Or better just see 'grml-tips udev' for other ways to get persistent network -interfaces. - -SELinux support -=============== -The udev version on grml is built without support for SELinux. - -Various -======= -The generation of the udeb package has been disabled in debian/rules (by -removing BUILD_UDEB := 1) as this is not needed on grml. Some grml specific -functions have been added to the init script and to the maintainer scripts. - -hg repository -============== -Since version 0.103-0grml1 this package is maintained in the grml hg repository -at http://hg.grml.org/udev. The version in the git repository at -http://git.distanz.ch is not maintained anymore. +Notes regarding installation +============================ + +Please notice that this package does NOT activate its init script itself on +installation. The udev rules are enabled automatically but if you want to use +the bootoptions noudev and blacklist you have to enable the provided init script +manually (unless you are using just the Grml *live* system of course where the +according toolchains do that for you). + +So if you want to enable the grml-udev initscript manually on your system +execute the following commands to replace the /etc/init.d/udev script with +/etc/init.d/grml-udev: + + update-rc.d -f udev remove + update-rc.d grml-udev start 03 S . + +Documentation of provided rules +=============================== + +/lib/udev/rules.d/01-grml-forensic.rules +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Mark new block devices as readonly when booting with bootoption +forensic/readonly. + +/lib/udev/rules.d/60-grml-blockdevices.rules +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This script triggers the /usr/sbin/rebuildfstab script for updating /etc/fstab +and /media/* when block devices are added or removed from the system. + +/lib/udev/rules.d/60-grml-external.rules +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Udev rule to map USB pendrives/sticks to /dev/external* device nodes (or +symlinks respectively). + +Note: This rule is deprecated in favour of the grml-usbdev rules file mentioned +below. Nevertheless this way of accessing devices is retained for backwards +compatibility reasons. + +/lib/udev/rules.d/60-grml-usbdev.rules +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This udev rule allows simple access to USB devices like pendrives upon plugging +them in. You'll get according symlinks in /dev (prefixed with 'usb-'), entries +in /etc/fstab (via rebuildfstab) and directories in /media according to available +labeled filesystems for free. On removal of the USB device the symlinks and +usb*-directories in /media will automatically vanish. -- Michael Prokop Fri, 13 Nov 2009 12:02:41 +0100