Re: how to mount usb flash/CD when not using gnome/kde

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/18/07, Globe Trotter <itsme_410@xxxxxxxxx> wrote:
> Hi,
>
> I am a fvwm2 user and I was wondering how I should mount a USB flash drive or a
> CD or DVD. I do not use gnome or KDE or XFCE unless fedora ties in some
> application (such as claws-mail-plugins, which depends on libgnome, strangely?)
> and I would like it that way? Is this possible? I just want to find out a way
> to do this. Can someone please point me to some documentation, or better still,
> tell me what to do?
>

Do the command: "tail -f /var/log/messages" and plug your USB flash
drive. For me, with USB Kingston key I see:

...
Nov 18 17:01:59 fedora8 kernel: usb 1-2: new high speed USB device
using ehci_hcd and address 5
Nov 18 17:01:59 fedora8 kernel: usb 1-2: configuration #1 chosen from 1 choice
Nov 18 17:01:59 fedora8 kernel: scsi4 : SCSI emulation for USB Mass
Storage devices
Nov 18 17:02:04 fedora8 kernel: scsi 4:0:0:0: Direct-Access
Kingston DataTraveler R   PMAP PQ: 0 ANSI: 0 CCS
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] 2030592 512-byte
hardware sectors (1040 MB)
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] Write Protect is off
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] Assuming drive
cache: write through
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] 2030592 512-byte
hardware sectors (1040 MB)
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] Write Protect is off
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] Assuming drive
cache: write through
Nov 18 17:02:04 fedora8 kernel:  sdc: sdc1
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Nov 18 17:02:04 fedora8 kernel: sd 4:0:0:0: Attached scsi generic sg3 type 0
...

Have a look at the line "sdc: sdc1 ". Now in your /etc/fstab just add a line:

/dev/sdc1 /mnt/usb vfat noauto,users,umask=0022 0 0

Of course, you need do "mkdir -p /mnt/usb" if it does not exist.
So from now, you can mount with "mount /mnt/usb", even with normal user :)

HTH,

----
http://vnoss.org

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux