LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-10-2005, 03:23 AM   #1
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
USB Harddisk


Hi there,

I have a usb powered hard disk. So far it works great (I formatted it with ext3) but I'm wondering if unmounting it before unplugging is the only thing I should take care of, or there could be other things to do? I'm not speaking about performance, but only to make sure that I don't loose data or kill the hard disk.

Thank you a lot in advance!
 
Old 07-10-2005, 03:52 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Yes you should unmount it before unplugging and run sync command:

Code:
sync;sync
umount /dec/sdaX
 
Old 07-10-2005, 04:10 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Original Poster
Rep: Reputation: 30
Mm... interesting. Could I omit that if I add the sync option when I mount the disk? It looks like sync will sync(hronize?) all the devices... which I'm not sure is "desirable".

Thank you for the info anyway, I'll look for more information (man sync is not very "illustrative")
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 (2.4.29 kernel) + USB harddisk Yalla-One Slackware 4 03-29-2005 02:18 PM
Problems mounting usb harddisk aargh Linux - Hardware 3 09-16-2004 08:59 PM
USB Harddisk For Linux? ahpin Linux - Hardware 1 05-31-2004 11:01 AM
Removable usb harddisk problem. Xiangbuilder Linux - Hardware 4 08-31-2003 03:55 AM
3 Harddisk USB (autofs) MrAhmad Linux - Hardware 3 08-03-2003 09:54 PM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration