Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: usb flash plug-in, getting at  the  usb flash  plug-in< Next Oldest | Next Newest >
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Dec. 19 2005,16:58 QUOTE

I hope this one doesn't make me look too much like an idiot.

Here is the problem.

Scenerio 1) I plug the usb flash memory in my laptop usb port and boot my system.   The system comes up and I mount /mnt/sda1 and everything is fine.  I can see files move them around etc.

Scenerio 2)  I boot my system with the usb flash drive not plugged into the usb port.  System comes up and runs fine.  I then plug the flash memory into the usb port and the flash blinks and the LED goes on.  However, I can't find a mount point.  There is no /mnt/sda1 or no /mnt/auto/sda1 for me to mount.

Is there a way I can mount the flash memory without rebooting?

Thanks.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 19 2005,17:14 QUOTE

You didn't state which version of DSL you are running.
USB hot plug was enabled in v2.0. It is working fine for me.
Boot DSL, with no pendrive.
Then plug in pendrive, wait a few seconds and then mount it.


Edited by roberts on Dec. 19 2005,17:15
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 19 2005,17:40 QUOTE

Usually, if you wait 10-20 seconds the drive will be detected and assigned a mount point.

The mount.app in the lower right corner will probably not see this new mountpoint, but in emelfm you should be able to naviate to

/mnt

and then Right-Click on sda1 and choose "Mount"

Or to do it manually inside a terminal window, try:

mount /mnt/sda1

or 100% manully by typing:

sudo su
mkdir /mnt/sda1
mount -t vfat /dev/sda1 /mnt/sda1


and then you can access it with Emelfm as Super User
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 19 2005,22:11 QUOTE

Actually you don't need to be user root to do anything with a removable pendrive.

Once plugged in and you see the light flashes on the pendrive,
then as normal user dsl

$mount /mnt/sda1

And as normal user you can access, read or write files on the pendrive.

The hotplug creates the mount point and entry in /etc/fstab and allows normal user to mount it. The pendrive, because it is a removable device is set to owner dsl and group staff.

Fixed drives, (hard disks), are normally not set to user dsl group staff only because DSL is primarliy a liveCD or nomadic OS. In which case root is required to try to minimize any accidental access to the hosts drives.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 19 2005,23:51 QUOTE

Quote (roberts @ Dec. 19 2005,17:11)
Fixed drives, (hard disks), are normally not set to user dsl group staff only because DSL is primarliy a liveCD or nomadic OS. In which case root is required to try to minimize any accidental access to the hosts drives.

I assume this is specific to fat partitions?  I frequently mount my reiserfs partitions as user dsl with the command "mount /dev/hdaX", and have read-write permission...provided the files in question are already owned by 1001.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
6 replies since Dec. 19 2005,16:58 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: usb flash plug-in

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code