From: Eugene Weiss <eweiss@sbcglobal.net>
To: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] submount: another removeable media handler
Date: Sat, 17 May 2003 02:05:00 -0400 [thread overview]
Message-ID: <200305170205.00407.eweiss@sbcglobal.net> (raw)
> > 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
I managed to read several of your warnings about using autofs for media
without coming across an explanation of why. I just assumed that as
maintainer, you had good reasons to do so. I more-or-less agree with you
about the desirability of insert and removal detection. I'm not sure if it
could ever be made to work for floppies, but there is no reason why one
solution should fit all cases. If there were common ioctls which could check
the insertion and removal status of the various drives, I might have taken
that approach.
I wanted to get the same functionality as supermount without the instability,
and as far as I can tell, I have succeeded. It's not ideal, but it works for
me, and hopefully will work for others as well until something better is
produced.
Eugene
next reply other threads:[~2003-05-17 8:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-17 6:05 Eugene Weiss [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-19 10:51 [ANNOUNCE] submount: another removeable media handler Andrey Borzenkov
2003-05-19 17:10 ` H. Peter Anvin
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
2003-05-19 17:12 ` H. Peter Anvin
2003-05-16 12:16 ` Michael Buesch
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=200305170205.00407.eweiss@sbcglobal.net \
--to=eweiss@sbcglobal.net \
--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