From: reflex <reflex-2000@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: Volume Daemon for automatic device mounting
Date: Sun, 05 Oct 2003 18:13:01 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-106537768414745@msgid-missing> (raw)
Greetings all,
I am new to the list so I hope this mail gets through.
I am currently writing an application, that can replace the
mount -a on system startup and some other really neat things :-)
I wanted to mount my iPod automatically through hotplug. I was
not able to do that properly because I never knew where it
would appear. Since I also have a USB-Flash-Stick this became a
really annoying problem. The thing that bothered me most was that
every f***ing windows or Mac OS (even X!) was able to handle that
without any problem.
Now the deamon works like this:
You give it a list of devices to scan (/dev/sda, /dev/sdb etc.)
Then it scans them either periodically or on SIGUSR1.
If a new device was found it detects fstype, volumename, UUID etc
and mounts it under /Volumes/whatever or at a fixed point
(defined previously).
The reason why I write to this list:
It would be cool if there was some sort of subscription service
in hotplug where my program could subscribe and would be informed
when a new (storage) device was inserted. That way it would know
instantly what device it had to scan. Otherwise I will have to
call it from one of the shellscripts and then rescan ALL devices
probably causing nasty errormessages in syslog.
The Volume Daemon would also be able to replace devlabel. I will
add a feature where you can give UUID's to all filesystems (even
to those that do not support it natively)
Regards
Clemens
--
Clemens Wacha wacha@gmx.ch ICQ:12620492
proudly running Debian/GNU Linux. See http://www.debian.org
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
next reply other threads:[~2003-10-05 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-05 18:13 reflex [this message]
2003-10-14 0:07 ` Volume Daemon for automatic device mounting Greg KH
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-106537768414745@msgid-missing \
--to=reflex-2000@gmx.net \
--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).