LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-31-2008, 12:53 PM   #1
zeynep
Member
 
Registered: Jan 2008
Posts: 34
Blog Entries: 1

Rep: Reputation: 15
usb mount


Hello,
How can i mount my usb disk and save with the name of myfiles all files and directories from the beginning of /

Then how can i stop the usb?

Thanx..
 
Old 01-31-2008, 02:14 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you manually mounted it with mount, use umount. Otherwise, you should have an icon on your Desktop you can use to unmount it.
 
Old 01-31-2008, 02:18 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,699
Blog Entries: 37

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
Hi,

Quote:
Originally Posted by zeynep View Post
Hello,
How can i mount my usb disk and save with the name of myfiles all files and directories from the beginning of /

Then how can i stop the usb?

Thanx..
Really not a lot of information. What are you using? 'cli' or desktop. You should look at 'How to Ask Questions the Smart Way'.

If you want to mount the usb form the 'cli' then you will need a mount point. Create the mount point with the 'mkdir' command. Then you will need to 'mount' the device to that directory. You can use the 'cp' command to copy files to the device.

Once you are through copying then issue the 'sync' command.

edit: then you can use the 'umount' command to allow you to remove the flash.

You can 'man commands' to get a full understanding. You could look at the next four links;

Last edited by onebuck; 01-31-2008 at 08:45 PM.
 
Old 01-31-2008, 02:28 PM   #4
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
Code:
sudo mount -t auto /dev/usb-dev-name /path/to/mount-point
# compress files with gzip
# if u don't want compression, remove the z from the option string below
tar czvf /path/to/mount-point/myfiles --exclude=/path/to/mount-point / 
sudo umount /path/to/mount-point
 
  


Reply


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
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM

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

All times are GMT -5. The time now is 09:04 PM.

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