LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   User mount USB device (http://www.linuxquestions.org/questions/linux-hardware-18/user-mount-usb-device-79053/)

Infinite_Pizza 08-04-2003 09:39 PM

User mount USB device
 
Does anyone know any program that we can use to access (read ,write) to a USB flash drive(transcend 128MB) ? without going to "root" to mount the USB ?

for example : When I am trying to access floppy disk we can use "mtools" mdir mcopy mdel .....
is there a similar stuff out there for USB ??

I am trying to get the university's computer to read my flash drive it seems that the administrator did not create a folder for USB to be mount on

This is what I know about the university's computer ::
$mount
/dev/hda1 on / type ext3,ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /export/tuba09/1 type ext3 (rw,grpid)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
tuba09:(pid419) on /home type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=amd+home)
tuba09:(pid419) on /web type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=amd+web)
tuba09:(pid419) on /var/mail type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=amd+mail)
tuba09:(pid419) on /import type nfs (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=amd+import)
elfman:/export/elfman/1 on /tmp_amd/elfman/import/1 type nfs (rw,hard,intr,rsize=8192,wsize=8192,vers=3,proto=udp)

I am just wanna listen to MP3s on the flash drive while sitting therte doing some work hopefully

:D

Infinite_Pizza 08-05-2003 08:35 PM

just some more shell prompts :

bash-2.05b$ /sbin/lsmod
Module Size Used by
usb-storage 54800 0 (unused)
scsi_mod 51920 1 [usb-storage]
cmpci 24176 0 (unused)
vfat 9248 0
fat 29024 0 [vfat]
smbfs 32528 0 (unused)


bash-2.05b$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0gong00:(pid368) /home nfs rw,sync,v2,rsize=1024,wsize=1024,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,intr,udp,noac,lock ,addr=pid368@gong00:/home 0 0
gong00:(pid368) /web nfs rw,sync,v2,rsize=1024,wsize=1024,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,intr,udp,noac,lock ,addr=pid368@gong00:/web 0 0
gong00:(pid368) /import nfs rw,sync,v2,rsize=1024,wsize=1024,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,intr,udp,noac,lock ,addr=pid368@gong00:/import 0 0
gong00:(pid368) /var/mail nfs rw,sync,v2,rsize=1024,wsize=1024,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,intr,udp,noac,lock ,addr=pid368@gong00:/var/mail 0 0
elfman:/export/elfman/1 /tmp_amd/elfman/import/1 nfs rw,v3,rsize=8192,wsize=8192,hard,intr,udp,lock,addr=elfman 0 0
bash-2.05b$ cat /proc/mounts | grep usb
usbdevfs /proc/bus/usb usbdevfs rw 0 0

Anyone have know if there is a software that don't need root to mount the usb ?
I found something called "hotplug" but don't see and bin executable files that act like mdir in motools
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0

bash-2.05b$ mount usbdevfs
mount: according to mtab, usbdevfs is already mounted on /proc/bus/usb
mount failed

michaelk 08-05-2003 09:47 PM

Not that I know of.

For a user to mount USB you need to have an entry in the /etc/fstab file with the proper options.

I would think you need root priv to install and configure hotplug.


All times are GMT -5. The time now is 04:18 AM.