LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2004, 03:15 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
problem with pendrive


Hi, igot as far as my computer understanding the pen drive, but the thing is it changes it's path each time i put it in the USB then unplugg it, first it's /dev/sda then /dev/sdb then dev/sdc


kinda sucks cause i always have to change the /etc/fstab so it will recognize it..


How can i make it so i don't have to manually make it read it

Thanks
 
Old 09-05-2004, 03:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Do you unmount the drive before unplugging it?
I can't think of a good reason why it (the hot-plug
system) shouldn't notice the drive going away
other than the kernel assuming it's still there.


Cheers,
Tink
 
Old 09-05-2004, 03:27 PM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
no i don't unmount it :\
 
Old 09-05-2004, 03:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That makes it a do-it-yourself problem, I guess ...
And the solution is quite obvious...
a) manually unmount before removing.
b) write a script that interacts with the hot-plug
system and forcefully unmounts it when it's
gone ... but really, just pulling it is bad practice.


Cheers,
Tink
 
Old 09-05-2004, 03:37 PM   #5
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
wow, that really went past my head lol
 
  


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
USB PENDRIVE Problem with kernel 2.6.10 tandre Linux - Hardware 11 04-20-2005 11:18 PM
USB Pendrive DarkAsHell Linux - Hardware 3 04-07-2005 04:26 PM
USB PenDrive and 2.6.3 kernel vfat mount problem jarro Linux - Hardware 0 06-12-2004 06:23 PM
chmod USB pendrive problem Pathian Linux - Hardware 1 12-09-2003 10:09 PM
boot from pendrive parsimonias Linux - Hardware 1 07-01-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration