Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
ok, for some reason each time itake my pen drive out of the USB then i put it back in, it changes it's location, at first it would be /dev/sda then it woul be /dev/sdb
linux:/home/mark # dmesg | grep remov
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
If you get the "busy" message, then it means that you've got an open process accessing it. For example, if opened up a terminal session, then mounted the pendrive and nagivated over to /mnt/flashdrive, you will not be able to unmount it (because your session is accessing it). cd to a higher level directory and you should be OK, assuming that no other process is still acessing it -- J.W.
linux:/home/mark # mount
/dev/hda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda3 on /home type reiserfs (rw,acl,user_xattr)
/dev/hdc on /media/dvdram type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
usbfs on /proc/bus/usb type usbfs (rw)
hmm ok, so from scratch assuming i deleted the flashdrive dir in /mnt
ok i got it, but is there a way so when i'm done with everything it will kil lall the processes immediately?
is there away to make a script like that???
it's a pain to always see whats running it, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.