Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-18-2004, 08:59 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Vancouver Canada
Distribution: RHEL 3.0
Posts: 7

Rep: Reputation: 0
how to mount usb flash memory on RHEL 3.0

How can I mount USB flash memory on RHEL 3.0 ?
I added the following line to fstab & used following mount command:
/dev/sdc1 /mnt/usb vfat user,noauto 0 0 <-- added to /etc/fstab
mount /mnt/usb <-- mount command
/dev/sdc1 is not a valid block device <-- got this errmsg

I read in another post from Villajohn Nov 29/04 that usb flash
memory is configured as a scsi disc
Since I have 2 SCSI discs, sda & sdb, I guessed that
the USB flash memory would be sdc ?? but errmsg says otherwise
How can I tell which scsi device to use ?

After I installed my USB card (adaptec USB2connect)
I did see bootup messages such as:
usb.c: registered new driver usbdevfs
PCI found IRQ for device 00:1f.2
PCI sharing IRQ 9 with 01:0b.0
usb-uhci.c: detected 2 ports
usb-uhci.c: v1.275.USB universal host controller interface driver
usb.c registered new driver hiddev

How can I tell which SCSI device to use ?
Thanks, Owen
Old 12-18-2004, 11:35 PM   #2
Red Hat
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
How do I use a USB storage device with my Red Hat Enterprise Linux system?

Use a login with an active support entitlement in order to access this article from Red Hat Knowledgebase.
Old 12-19-2004, 01:32 PM   #3
LQ Newbie
Registered: Dec 2004
Location: Vancouver Canada
Distribution: RHEL 3.0
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for solving my problem.
I had looked in dmesg for the scsi device assigned but I needed
to reboot a 2nd time before it showed up, And it was sdc1 as
we would expect since I have 2 SCSI hard disks.
There is 1 minor problem, the permissions are reset to 755
when I mount (I set 777 before mounting on /mnt & /mnt/usb)
I tried modifying /etc/security/console.perms similar to my
other posting reply which worked for the floppy drive
I modified the <flash>=/mnt/flash* to <flash>=/mnt/usb
& chnaged <console> 600 <flash> 0600 root
to ---------> <console> 666 <flash> 0666 root
But I can live with using root to write to my usb flash memory
if no easy solution to the permissions problem
Thansk again, Owen


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 flash memory (unable to mount) jlp1976 Linux - Hardware 10 01-05-2007 01:44 AM
Missing memory in USB stick, flash memory, removable hd etc bamboo_spider Linux - Newbie 3 06-14-2006 05:39 PM
Mandrake 10.0 - trying to mount flash memory read-only rubba19 Linux - Newbie 0 10-18-2004 02:06 PM
How to mount usb flash memory tony2666 Linux - Hardware 2 05-25-2004 07:31 AM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration