From: Steve Brueggeman <xioborg@yahoo.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] submount: another removeable media handler
Date: Mon, 19 May 2003 11:45:46 -0500 [thread overview]
Message-ID: <oc2icvot0lp3qaqpven4v7bgp6e7oc6krm@4ax.com> (raw)
In-Reply-To: <ba3bls$c2p$1@cesium.transmeta.com>
Off Topic, sorry.
Is there a way to detect whether a floppy has been installed, without
actually forcing the motor to spin, and heads to engage???
I'd like to create a simple auto-run utility that constantly looks for
a special file on a MSDOS formatted floppy, and run it if found.
Unfortunately, the only way I know of to determine if a floppy is
installed is to open the floppy device, which causes the undesired
motor spin-up, and head access.
Any help is greatly appreciated!!!
Steve Brueggeman
On 16 May 2003 11:46:20 -0700, you wrote:
>Followup to: <200305161027.20045.eweiss@sbcglobal.net>
>By author: Eugene Weiss <eweiss@sbcglobal.net>
>In newsgroup: linux.dev.kernel
>>
>>
>> > how is it different from what automounter does?
>>
>> Autofs works by creating a special filesystem above the vfs layer, and passing
>> requests and data back and forth. Submount actually does much less than
>> this- it puts a special filesystem underneath the real one, and the only
>> things it returns to the VFS layer are error messages. It handles no IO
>> operations whatsoever.
>>
>> Peter Anvin has called using the automounter for removeable media "abuse."
>> Submount is designed for it.
>>
>
>Sure, but it's not clear to me that you have listened to me saying
>*why* it is abuse.
>
>Basically, in my opinion removable media should be handled by insert
>and removal detection, not by access detection. Obviously, there are
>some sticky issues with that in the case where media can be removed
>without notice (like PC floppies or other manual-eject devices), but
>overall I think that is the correct approach.
>
> -hpa
next prev parent reply other threads:[~2003-05-19 16:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-16 5:06 Eugene Weiss
2003-05-16 11:33 ` Alex Riesen
2003-05-16 14:31 ` Eugene Weiss
2003-05-16 18:46 ` H. Peter Anvin
2003-05-19 16:45 ` Steve Brueggeman [this message]
2003-05-19 17:12 ` H. Peter Anvin
2003-05-16 12:16 ` Michael Buesch
2003-05-17 6:05 Eugene Weiss
2003-05-19 10:51 Andrey Borzenkov
2003-05-19 17:10 ` H. Peter Anvin
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=oc2icvot0lp3qaqpven4v7bgp6e7oc6krm@4ax.com \
--to=xioborg@yahoo.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®