linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Hordijk <hoffbrinkle@hotmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Nodes briefly disappear on close?
Date: Tue, 05 Sep 2006 11:59:26 +0000	[thread overview]
Message-ID: <edjoqu$336$1@sea.gmane.org> (raw)

So I've run into the following problem:

"""
dhcp0-a0-98-5-2e-a0 ~ # ls /dev/hda1 ; ls /dev/hda1
/dev/hda1
/dev/hda1
dhcp0-a0-98-5-2e-a0 ~ # ls /dev/hda1 ; touch /dev/hda1 ; ls /dev/hda1
/dev/hda1
ls: /dev/hda1: No such file or directory
dhcp0-a0-98-5-2e-a0 ~ # ls /dev/hda1 ; touch /dev/hda1 ; sleep 1 ; ls /dev/hda1
/dev/hda1
/dev/hda1
"""

Now I'm sure I'm not the first to notice this.  But between the FAQ and the
mailing list, I couldn't find a solution.  I'm running Gentoo, udev 087, kernel
2.6.15.

It is probably important to mention that /dev/hda1 is actually on a compact
flash, which may be slow to return from whatever udev is doing to it to find out
the partition info?

The reason this is a problem:  I can't format said device.  An strace of tools
such as mkfs.msdos show that it opens, then closes the partition, then tries to
immediately open again, leading to an error that the device is not accessible.

Any ideas how to get around this?

- michael


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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:[~2006-09-05 11:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05 11:59 Michael Hordijk [this message]
2006-09-05 12:45 ` Nodes briefly disappear on close? Kay Sievers
2006-09-05 15:40 ` Michael Hordijk

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='edjoqu$336$1@sea.gmane.org' \
    --to=hoffbrinkle@hotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).