All of lore.kernel.org
 help / color / mirror / Atom feed
From: adrian@cox.rr.com (Adrian Mariano)
To: linux-hotplug@vger.kernel.org
Subject: /proc/bus/usb not mounted (fix)
Date: Mon, 21 Jan 2002 16:16:01 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-101164620629689@msgid-missing> (raw)

First.  I'm not on this list.  I looked long and hard to find a place to report
bugs in hotplugging and this was the only address I could find.

My problem was that /proc/bus/usb wasn't being mounted.  I examined the 
scripts and identified the problem in /etc/hotplug/usb.rc.  The
following code appears:

        if [ ! -f /proc/bus/usb/devices ]; then
            if grep -q "[        ]/proc/bus/usb[         ]" /etc/fstab ; then
                mount /proc/bus/usb
            else
                mount -t usbdevfs usbdevfs /proc/bus/usb
            fi
        fi

I had a COMMENTED OUT entry for /proc/bus/usb in my /etc/fstab which
caused the erronous selection of "mount /proc/bus/usb" as the command
to mount.  Perhaps something like 

   if grep -q "^[^#]*[        ]/proc/bus/usb[         ]" /etc/fstab ; then

would fix it, but I didn't think long and hard about this or test it
(I just changed my fstab once I knew what was going on).

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2002-01-21 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 16:16 Adrian Mariano [this message]
2002-01-22  0:30 ` /proc/bus/usb not mounted (fix) Gioele Barabucci

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-101164620629689@msgid-missing \
    --to=adrian@cox.rr.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.