All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sandra Bonus <mrsbonus1@yahoo.com>
To: autofs@linux.kernel.org
Subject: Automount USB Drive using Volume Name as Mount Point
Date: Mon, 22 Jan 2007 14:46:17 -0800 (PST)	[thread overview]
Message-ID: <918171.95307.qm@web35503.mail.mud.yahoo.com> (raw)

I'm not sure if this question is an autofs question or perhaps for some other software component.
I have a couple of external USB hard drives with NTFS partitions each with different volume names eg HDD1 and HDD2
If I connect these one at a time they both come up as /dev/sde and I have an autofs entry like 
usb     -fstype=ntfs-3g :/dev/sde1

This mounts one drive as /misc/usb

This works fine except it would be ideal if each drive actually mounted as 
/misc/HDD1 and /misc/HDD2 so that scripts can more easily differentiate the disks

If I log in using Gnome then this seems to have no problem mounting each drive and placing an icon on the desktop using the volume label. However, I almost never use Gnome and the machine in question is a server. 




 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

             reply	other threads:[~2007-01-22 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22 22:46 Sandra Bonus [this message]
2007-01-23  1:21 ` Automount USB Drive using Volume Name as Mount Point Ian Kent
2007-01-24 11:21 ` Francesco P. Lovergine
2007-01-24 19:31 ` Jim Carter

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=918171.95307.qm@web35503.mail.mud.yahoo.com \
    --to=mrsbonus1@yahoo.com \
    --cc=autofs@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.