LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-29-2005, 11:54 AM   #1
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 273

Rep: Reputation: 30
Usb memory key problem


Hello,

i have some problems with usb memory keys.

In fact i have one that i mount using sda1, but often i have to mount a friend of mine one ( in fact it's an mp3 player ) that needs sda ( with no partition number ) as device. This is quite annoying since i would like to mount them all on /mnt/chiaveusb , using the same command to mount them via a filemanager and so on.

I'm using kernel 2.6.8 from debian sarge, and my fstab looks this way:

Code:
/dev/sda1               /mnt/chiaveusb/ vfat    rw,user,noauto  0              0
Is there something i can do?

Thanks in advance.
 
Old 08-29-2005, 11:56 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Add another line to /etc/fstab and leave off the '1'?
 
Old 08-29-2005, 11:59 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
one thing i learned about the USB sticks was each USB device will take up 1 partition on your sda device. so if you have your usbstick mounted then try to mount your friends at the same time you will have to creat a new mount point, and call it sda2 when you mount it.

does make for a major PITA would be nice if the automounter function worked better in debian, but i have yet to get it to work at all let alone even a little bit in debian.

i have seen automounter work in knoppix, ubuntu, and in FC4, but have not tried it in SuSe yet so no clue if it works there or not. odds are it does.
 
Old 08-29-2005, 12:02 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
USB devices should not be showing up as partitions under sda. Rather, the first stick should be sda, the second sdb, etc. Otherwise, things would get rather confusing for a USB device with multiple partitions. Or worse, for multiple USB devices with multiple partitions.
 
Old 08-31-2005, 11:34 AM   #5
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 273

Original Poster
Rep: Reputation: 30
Quote:
USB devices should not be showing up as partitions under sda. Rather, the first stick should be sda, the second sdb, etc. Otherwise, things would get rather confusing for a USB device with multiple partitions. Or worse, for multiple USB devices with multiple partitions.
I have tought a bit about your post.

Then i performed a

Code:
mkfs.vfat -I /dev/sda
vfat because it has less overhead than linux native filesystems.

And this way the problem has been solved. Probably the maker of the key has created a partition inside the whole space.

Thank you.
 
Old 08-31-2005, 12:37 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
That is one option, and I have before seen many devices that had no partition table. However, be wary that I'm not sure about windows mounting these devices properly, if you intend to use it under windows. I suggest you check before entrusting critical data to the disk.
 
Old 09-02-2005, 12:00 PM   #7
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 14
Posts: 273

Original Poster
Rep: Reputation: 30
Quote:
if you intend to use it under windows
For now i don't care, when i'll find a friend of mine with a windows pc ( for now i have converted them all to linux ) i'll see if it will work or not.
 
  


Reply


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
Backing up to USB Memory Key ppuddick Linux - Enterprise 1 01-21-2005 04:46 PM
Using a USB Memory Key lel800 Linux - Hardware 10 10-21-2004 06:37 PM
USB memory key installation jcai Linux - General 6 10-18-2004 04:08 PM
Suse 9.1 - usb memory key problem enryfox Linux - Distributions 9 07-27-2004 08:43 PM
Lexar USB Memory Key infurn Linux - Hardware 12 08-18-2003 12:40 AM


All times are GMT -5. The time now is 08:13 AM.

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