Find the answer to your Linux question:
Results 1 to 8 of 8
Hi I m a newbie on linux...just got to it for days Now wondering of how to use my Apacer USB2.0 thumbdrive in Linux... I got myself the Fedora Core ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    5

    USB handy drive...


    Hi
    I m a newbie on linux...just got to it for days
    Now wondering of how to use my Apacer USB2.0 thumbdrive in Linux...
    I got myself the Fedora Core 1 to run in my PC
    How can i copy file to it?
    Do i need to unmount later?

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    you cp the file to the mount point usualy /mnt/usb (or whatever is listed as the mount point in /etc/fstab) , and yes you need to umount it befor you pull it out or the files wont be written to it.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    5
    icic
    but i do notice when i plug it on
    a folder named flash created in /mnt
    is it suppose to be happen in fedora??

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2003
    Location
    The Netherlands
    Posts
    89
    # mkdir /mnt/sda1/
    # mount -rw /dev/sda1 /mnt/sda1
    # cd /mnt/sda1
    # ls

    if this doesn't work, then make all sda1 change to sdb1

    to unmount it:

    # umount /dev/sda1

    what i usually do is create 2 aliases:

    alias flash 'mount -rw /dev/sda1 /mnt/sda1'
    alias uflash 'mount -rw /dev/sda1'

    by copying the above strings to /<username/.tcshrc
    (this is because i like to use the tcsh.

    but this also works with bash, then you'd have to copy it to /<user>/.bashrc

    where <user> is your username, e.g. root or something else...

  6. #5
    Just Joined!
    Join Date
    Jul 2004
    Posts
    5
    icic
    thanks

  7. #6
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    An fstab entry would also do the job (IMHO a better solution than an alias, unless you don't want other users able to mount it).

    Code:
    /dev/sda1               /mnt/usb        vfat            users,noauto,rw,exec,umask=0033         0 0
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  8. #7
    Just Joined!
    Join Date
    Jul 2004
    Posts
    5
    [quote="lepricaun"]# mkdir /mnt/sda1/
    # mount -rw /dev/sda1 /mnt/sda1
    # cd /mnt/sda1
    # ls

    i tried the above
    and it asked for:

    /dev/sda1: Input/output error
    mount: you must specify the filesystem type

    how should i write the command?

  9. #8
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Code:
    mount -t vfat -o rw,users /dev/sda1 /mnt/sda1
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •