LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2008, 06:27 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Rep: Reputation: 83
Under /media, label does not appear as mount point. (only first one)


Hya,

I am confused. With my Debian Lenny (fully updated) Penguin, (Xfce4)

Problem looks like:

Two usb sticks (labels Penguin1 and Penguin2)
When first one is attached, the label shows up in Thunar window as Penguin1, but mount point is /media/usb0.
When second one is attached, the lable shows up in Thunar window as Penguin2, and mount point is /media/Penguin2.

I have some shell scripts which read/write these USB sticks, so it creates some problem.

Does anybody know the way to sort out?

Happy Penguins!

I have two other Penguins (Debian lenny and etch), and they behave. (/media/Penguin1 and /media/Penguin2)
 
Old 12-02-2008, 08:00 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Don't take them out of the USB ports (use duct tape), and change the scripts to reflect the present mount points.
 
Old 12-02-2008, 08:54 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Sounds like time for a fstab mapping using the UUID of the Flash drive ....

http://linux.byexamples.com/archives...tab-with-uuid/
 
Old 12-04-2008, 02:43 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 83
Hya,

Thanks for replies.

Junior Hacker:
Welding USB sticks to penguin may solve this situation, but unfortunately, I do not know how to avoid roasted penguin.

farslayer:
I do agree it is the time to use uuid. Problem is that my penguin is already equipped with uuid.

Solution:
Original problem is solved. The reason my penguin did not behave was that there was an entry in /etc/fstab for /dev/sdb1. I remember that I made this entry in early stage of installation. (I did something tricky, due to the size of stick and eth0/ath0 problem.)

Happy Penguins!
 
  


Reply

Tags
debian, hal, mount, point, removable, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 01:17 PM
ivman and label (mount point) How to?? kaz2100 Linux - Software 1 02-13-2008 12:01 AM
How can I get konqueror's media:/ to list hard drives by label instead of size? DaneM Linux - Software 1 06-03-2006 03:57 PM
mount cd label paul_mat Linux - Software 1 04-20-2006 07:04 AM


All times are GMT -5. The time now is 11:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration