LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05:27 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
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, 07:00 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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, 07:54 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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, 01:43 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
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



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 12:17 PM
ivman and label (mount point) How to?? kaz2100 Linux - Software 1 02-12-2008 11:01 PM
How can I get konqueror's media:/ to list hard drives by label instead of size? DaneM Linux - Software 1 06-03-2006 02:57 PM
mount cd label paul_mat Linux - Software 1 04-20-2006 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration