Changeset 2d935de


Ignore:
Timestamp:
08/17/2004 05:38:12 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
3e21aac3
Parents:
1435fc9
Message:

Modified usbfs mounting instructions in libusb

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2628 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r1435fc9 r2d935de  
    1 <!ENTITY day          "16">
     1<!ENTITY day          "17">
    22<!ENTITY month        "08">
    33<!ENTITY year         "2004">
  • general/genlib/libusb.xml

    r1435fc9 r2d935de  
    7979<title>Configuring <application>libusb</application></title>
    8080
    81 <!-- To be reviewed when hotplug enters the LFS book -->
     81<para>libusb requires the usbfs kernel filesystem to be mounted on
     82<filename class="directory">/proc/bus/usb</filename>. Applications require the
     83files in this directory to be accessible to the user, sometimes for both
     84reading and writing. To restrict access to <acronym>USB</acronym> devices,
     85ensure the usb group exits on your system. If necessary, create the usb group
     86using the following command:</para>
    8287
    83 <para>libusb requires the usbfs kernel filesystem to be mounted on
    84 <filename class="directory">/proc/bus/usb</filename>. Applications
    85 require the files in this directory to be accessible to the user,
    86 sometimes for both reading and writing.</para>
     88<screen><userinput><command>groupadd -g 14 usb</command></userinput></screen>
    8789
    88 <para>To restrict access to <acronym>USB</acronym> devices, create the
    89 usb group:</para>
    90 
    91 <screen><userinput><command>groupadd -g 15 usb</command></userinput></screen>
    92 
    93 <para>Mount usbfs at system boot-up using a special init script, as putting an
    94 extra line into <filename>/etc/fstab</filename> does not work for those who
    95 compiled "USB device filesystem" as a kernel module. Install the
    96 <filename>/etc/rc.d/init.d/usb</filename> init script included in the
    97 <xref linkend="intro-important-bootscripts"/> package:</para>
     90<para>Compiling the <quote>USB device filesystem</quote> as a kernel module is
     91not recommended. However, if you did compile it as a module, you can install an
     92init script to mount usbfs at system boot-up. An init script is included in the
     93<xref linkend="intro-important-bootscripts"/> package and is installed using
     94the following command:</para>
    9895
    9996<screen><userinput><command>make install-usb</command></userinput></screen>
     97
     98<para>If you've compiled the <quote>USB device filesystem</quote> directly
     99into the kernel, ensure you have the appropriate entry in the
     100<filename>/etc/fstab</filename> file. You should have an entry similar to
     101the line below:</para>
     102
     103<screen><userinput>usbfs  /proc/bus/usb  usbfs  devgid=14,devmode=0660  0  0</userinput></screen>
    100104
    101105</sect2>
  • introduction/welcome/changelog.xml

    r1435fc9 r2d935de  
    2323<itemizedlist>
    2424
     25<listitem><para>August 17th, 2004 [randy]: Modified the usbfs mounting
     26instructions in the libusb configuration as suggested by Alexander E.
     27Patrakov.</para></listitem>
     28
    2529<listitem><para>August 16th, 2004 [randy]: Updated to
    2630GIMP-2.0.4 and ImageMagick-6.0.5-2.</para></listitem>
Note: See TracChangeset for help on using the changeset viewer.