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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux