From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sandra Bonus Subject: Automount USB Drive using Volume Name as Mount Point Date: Mon, 22 Jan 2007 14:46:17 -0800 (PST) Message-ID: <918171.95307.qm@web35503.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org 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