LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-03-2006, 11:46 PM   #1
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Rep: Reputation: 15
cannot detect thumb drive


halo... I cannot detect my thumb drive in fedora core 2, 2.6.5-1.358 but i can detect the thumb drive in fedora core 4. DId anyone know how to detect and access thumb drive in fedora core 2 ???

Thanks.
 
Old 08-04-2006, 12:13 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Well, I'd like a little more information.

Are the modules loaded? run lsmod and check for sd_mod and any usb module unless you know that these are built into the kernel.

Run lspci to see if anything appears. Check your logs just after connecting it to see if there is any pertainant information.

Post back whatever you find.
 
Old 08-04-2006, 01:40 AM   #3
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo....

May I know how to check the modules loaded ?

When i typed "lsmod" and "sd_mod" , there are error message shown as below:
"bash: lsmod: command not found "

Is that i have to type any commands before these ??
 
Old 08-04-2006, 02:08 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
you should definitely have lsmod. You may have to run it as root. If you truely do not have the lsmod or lspci, you'll need to use whatever package manager you have, and install the pciutils package for your distrobution. This package is generally considered part of the base install though.

--- Edit ---
Those are L's, like LSPCI

Last edited by musicman_ace; 08-04-2006 at 02:10 AM.
 
Old 08-04-2006, 03:36 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Fedora does not setup its path correctly for every user. The utility lsmod is in /sbin. Just type /sbin/lsmod or 'cat /proc/modules' as a user. You do not need to use root to get a list of loaded modules (drivers).

The modules that are needed to access a usb storage media are usb-storage and sd_mod assuming USB modules are already loaded.

It takes a few tries to get Linux to register USB storage.
 
Old 08-10-2006, 05:15 AM   #6
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
i typed " /sbin/lsmod " in terminal and it shown :

[kokchin@localhost kokchin]$ /sbin/lsmod
Module Size Used by
udf 78596 0
sd_mod 16384 0
usb_storage 55392 0
snd_mixer_oss 13824 2
snd_intel8x0 26280 3
snd_ac97_codec 50436 1 snd_intel8x0
snd_pcm 68872 1 snd_intel8x0
snd_timer 17156 1 snd_pcm
snd_page_alloc 7940 2 snd_intel8x0,snd_pcm
gameport 3328 1 snd_intel8x0
snd_mpu401_uart 4864 1 snd_intel8x0
snd_rawmidi 17184 1 snd_mpu401_uart
snd_seq_device 6152 1 snd_rawmidi
snd 38372 10 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devi ce
soundcore 6112 3 snd
parport_pc 19392 1
lp 8236 0
parport 29640 2 parport_pc,lp
autofs4 10624 0
rfcomm 27164 0
l2cap 16004 5 rfcomm
bluetooth 33636 4 rfcomm,l2cap
ds 12292 2
yenta_socket 15104 0
pcmcia_core 46792 2 ds,yenta_socket
sunrpc 101064 1
3c59x 30376 0
ipt_REJECT 4736 1
ipt_state 1536 1
ip_conntrack 24968 1 ipt_state
iptable_filter 2048 1
ip_tables 13440 3 ipt_REJECT,ipt_state,iptable_filter
sg 27552 0
scsi_mod 91344 3 sd_mod,usb_storage,sg
microcode 4768 0
dm_mod 33184 0
joydev 6976 0
uhci_hcd 23708 0
ehci_hcd 21896 0
button 4504 0
battery 6924 0
asus_acpi 8472 0
ac 3340 0
i830 55856 2
ipv6 184288 8
ext3 102376 2
jbd 40216 1 ext3


But i still cannot detect my thumb drive after typing "/sbin/lsmod" few times.
Did you know why ??
 
Old 08-10-2006, 06:40 AM   #7
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
The modules look good to me. Once you've plugged in the usb drive, wait 5 seconds and type dmesg. It should give you the /dev/sd_ that the usb drive was attached to. From there you can mount it and access the files.
 
Old 08-10-2006, 03:38 PM   #8
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo... i did tried to typed "dmesg", and it shown as below:

[kokchin@hb2b-130 kokchin]$ dmesg
Linux version 2.6.5-1.358 (bhcompile@bugs.build.redhat.com) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Sat May 8 09:04:50 EDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000eee0000 (usable)
BIOS-e820: 000000000eee0000 - 000000000eeec000 (ACPI data)
BIOS-e820: 000000000eeec000 - 000000000ef00000 (ACPI NVS)
BIOS-e820: 000000000ef00000 - 0000000010000000 (reserved)
BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved)
0MB HIGHMEM available.
238MB LOWMEM available.
zapping low mappings.
On node 0 totalpages: 61152
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 57056 pages, LIFO batch:13
HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6860
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x0eee64a2
ACPI: FADT (v001 HP 09A8 0x06040000 PTL 0x00000050) @ 0x0eeebec4
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x0eeebfd8
ACPI: SSDT (v001 INTEL CPU0CST 0x00000001 INTL 0x20020725) @ 0x0eee68d2
ACPI: SSDT (v001 INTEL EISTRef 0x00002000 INTL 0x20030224) @ 0x0eee64d6
ACPI: DSDT (v001 HP 09A8 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
Built 1 zonelists
Kernel command line: ro root=LABEL=/ rhgb quiet
mapped 4G/4G trampoline to ffff3000.
Initializing CPU#0
CPU 0 irqstacks, hard=02345000 soft=02344000
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1495.521 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 239132k/244608k available (1540k kernel code, 4776k reserved, 599k data, 144k init, 0k highmem)
Calibrating delay loop... 2965.50 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.
Failure registering capabilities with the kernel
selinux_register_security: Registering secondary module capability
Capability LSM initialized
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: After vendor identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f1bf 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Pentium(R) M processor 1500MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 5 6 7 10 *11 12 14)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 5 6 7 *10 11 12 14)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 5 6 7 10 *11 12 14)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 5 6 7 *10 11 12 14)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 5 6 7 10 11 12 14)
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 5 6 7 10 11 12 14)
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 5 6 7 10 11 12 14)
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 5 6 7 *10 11 12 14)
ACPI: Embedded Controller [EC] (gpe 28)
ACPI: Power Resource [LRP0] (off)
ACPI: Power Resource [LRP1] (off)
ACPI: Power Resource [LRP2] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Simple Boot Flag at 0x37 set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1155258798.928:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Fan [FAN0] (off)
ACPI: Fan [FAN1] (off)
ACPI: Fan [FAN2] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
ACPI: Thermal Zone [THM2] (31 C)
ACPI: Thermal Zone [THRM] (34 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855 Chipset.
agpgart: Maximum main memory to use for agp memory: 188M
agpgart: Detected 16252K stolen memory.
agpgart: AGP aperture is 128M @ 0xe8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdcMA, hddio
hda: FUJITSU MHT2040AT, ATA DISK drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: TOSHIBA DVD-ROM SD-R2512, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 >
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
i8042.c: Detected active multiplexing controller, rev 1.9.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
Firmware: 13.8
Sensor: 29
new absolute packet format
Touchpad has extended capability bits
-> 4 multi-buttons, i.e. besides standard buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio2
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S3 S4 S5)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 185k freed
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 144k freed
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
NET: Registered protocol family 10
Disabled Privacy Extensions on device 022db720(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
[drm] Initialized i830 1.3.2 20021108 on minor 0
mtrr: base(0xe8020000) is not aligned on a size(0x300000) boundary
ACPI: AC Adapter [ADP1] (on-line)
ACPI: Battery Slot [CMB0] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 10, pci mem 11ec9000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 11, io base 00001820
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 10, io base 00001840
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 11, io base 00001860
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 3-1: new low speed USB device using address 2
input: USB HID v1.10 Mouse [Acrox USB & PS/2 Mouse] on usb-0000:00:1d.1-1
EXT3 FS on hda3, internal journal
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x50
cdrom: open failed.
Adding 491360k swap on /dev/hda5. Priority:-1 extents:1
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
microcode: No suitable data for cpu 0
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 5 detected
SCSI subsystem initialized
inserting floppy driver for 2.6.5-1.358
floppy0: no floppy controllers found
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:02:06.0: 3Com PCI 3c905C Tornado at 0x3000. Vers LK1.1.19
divert: allocating divert_blk for eth0
divert: freeing divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1911 buckets, 15288 max) - 296 bytes per conntrack
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:02:06.0: 3Com PCI 3c905C Tornado at 0x3000. Vers LK1.1.19
divert: allocating divert_blk for eth0
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
Yenta: CardBus bridge found at 0000:02:00.0 [1854:000a]
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:00.0, mfunc 0x01d11002, devctl 0x64
Yenta: ISA IRQ mask 0x00f8, PCI irq 10
Socket status: 30000007
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
Bluetooth: Core ver 2.4
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.1
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.2
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 5 detected
lp0: using parport0 (polling).
lp0: console ready
mtrr: base(0xe8020000) is not aligned on a size(0x300000) boundary
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49567 usecs
intel8x0: clocking to 48000
usb 1-1: new high speed USB device using address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB DISK Pro Rev: PMAP
Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 2003968 512-byte hdwr sectors (1026 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
inserting floppy driver for 2.6.5-1.358
floppy0: no floppy controllers found


It shown that the thumb drive usb storage is at scsi0 , but i cannot find the location of it. Did you have any ideas about this ??
 
Old 08-10-2006, 04:00 PM   #9
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Original Poster
Rep: Reputation: 15
halo.... i did able to mount my thumb drive according to this link:
http://www.linuxquestions.org/questi...d.php?t=284453

Thanks to your advices. May I know should i unmount it before plug out my thumb drive???

If yes, how to unmount it ?
 
Old 08-29-2006, 09:46 PM   #10
Viną
LQ Newbie
 
Registered: Mar 2006
Location: Indianapolis
Distribution: Ubuntu 10.10
Posts: 25

Rep: Reputation: 15
musicman_ace,

Love your tagline!

Just reformatted my USB drive to FAT32, but it is still read-only. How do you recommend I fix this?

Viną
 
Old 08-29-2006, 09:47 PM   #11
Viną
LQ Newbie
 
Registered: Mar 2006
Location: Indianapolis
Distribution: Ubuntu 10.10
Posts: 25

Rep: Reputation: 15
musicman_ace,

Thanks for posting this - exactly what I needed.
Q: After reformatting my USB drive to FAT32, it is still read-only. How do you recommend I remedy this?

Thanks,
Viną
 
Old 08-29-2006, 10:03 PM   #12
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Unless you specify readonly, it should be mounted read/write. As for unmounting, it should be umount /dev/sda assuming it is sda
 
Old 08-30-2006, 07:11 PM   #13
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Any storage medium except floppies need to have a partition. If you do not put a partition, you will not see the data next time you use the device.

To mount FAT32, include umask=000 option. For an example, 'mount -t vfat -o umask=000 /dev/sda1 /mnt/media'. In some cases, you may need to specify rw or 'mount -t vfat -o umask=000,rw /dev/sda1 /mnt/media'. Though you may need to set rwx permissions to the directory where you mounted after mounting, but you only need to do it once.

I recommend do not put a line for USB/IEEE-1394 storage devices in /etc/fstab. These devices changes a lot and the line in the fstab file for these devices will create headaches. I recommend either mounting them manually, setting up hotplug to mount it, or set up udev to mount it.
 
Old 09-02-2006, 12:06 AM   #14
Viną
LQ Newbie
 
Registered: Mar 2006
Location: Indianapolis
Distribution: Ubuntu 10.10
Posts: 25

Rep: Reputation: 15
Electro,

Thank you for your post. I genuinely appreciate the time you put in.

I'm sure that's all good advice, but I've been a Linux man for all of 6 months, and can't make head or tail of what any of it is supposed to mean. -Incidentally, I tried it, and no go.

I need to know how to set permission for the /dev/FlashDrive THAT STICK, and possibly, if that doesn't work, the specific cl syntax for setting fire to the machine while I'm at work, so the insurance comes through.

Gotta tell ya, after Windows, I need GNU cl to be learnable, or I may as well hitch a train out to Iowa and take up grass farming. Maybe too many NuBs are too shy to say this, but I KNOW NOTHING, and am at the mercy of every kind soul that posts here. (Any of you who find yourself in Indy, please let me buy you a beer or ten.)

Viną
 
  


Reply



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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
Thumb Drive dudeman41465 Linux - Hardware 2 11-20-2005 01:02 AM
USB Thumb Drive WolfCub Linux - Hardware 18 03-01-2005 09:06 AM
thumb drive iarebob Slackware 5 02-01-2005 03:33 PM
Can't detect my thumb drive on Redhat 9.0 oneword Linux - Newbie 3 10-31-2004 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:35 AM.

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
Open Source Consulting | Domain Registration