From: "Stéphane Guedon" <stephane@22decembre.eu>
To: linux-hotplug@vger.kernel.org
Subject: udev fixing mount point
Date: Sat, 26 Feb 2011 16:36:59 +0000 [thread overview]
Message-ID: <201102261736.59953.stephane@22decembre.eu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1559 bytes --]
Hello
I write to you because I don't find any solution or any manuals.
I would like to fix the mount point of several usb devices. This is a classic
queries, many people around the world using Linux have the same aim.
Presently, I have only udev and udisks on that part of the process. Hal isn't
running anymore, but automounting still works.
I have read many udev rules over the internet, and I have writen at least two
that work...
But after working, unmounting in Kde isn't working anymore, whereas the basic
settings (plugging usb, let kde/udev/system/whatever mount, work on doc, then
unmount with the appropriate button in kde...) work good, but the mount point
is ugly and unremindable.
The only thing I want is replace the mount point (aka '/media/6566-3267') by
the one I want ( '/media/NeoParker' or '/media/htc' for an other one).
So, is there a rule to put like :
ENV{ID_FS_UUID}=="6566-3267", ENV{MOUNTPOINT}="NeoParker" ?
And it's all, all the rest of the process get its life (creating mount point,
mount, ... , unmount, rmdir of the mountpoint) and I haven't any thing to say
on it.
The fact is that just a simple rule like the one I have just said would be so
easy for every user ... But I don't find any, so, I ask you.
Sorry if I disturb you.
Thank you for your help.
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
next reply other threads:[~2011-02-26 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-26 16:36 Stéphane Guedon [this message]
2011-02-26 18:53 ` udev fixing mount point David Zeuthen
2011-02-26 18:56 ` Stéphane Guedon
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=201102261736.59953.stephane@22decembre.eu \
--to=stephane@22decembre.eu \
--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