LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-19-2005, 11:10 AM   #1
ItsNotMe
LQ Newbie
 
Registered: Apr 2005
Location: London, U.K.
Posts: 4

Rep: Reputation: 0
async with udev


How do I make udev to mount my USB drive "async"?

It's an external USB drive and I understand "sync" is a good default, but the performance isn't very exciting in this mode and the device is permanently attached anyway.

Any hints welcome.
Suse 9.2 / USB 2
Thanks
 
Old 04-19-2005, 05:19 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

I'm doing this in Fedora, so the file path may not be the same...

Go into /usr/share/hal/90defaultpolicy and open storage-policy.fdi in the edotor of your choice.
Look for a stanza that looks like
Code:
          <match key="volume.size" compare_lt="2147483648">
	    <match key="@block.storage_device:storage.hotpluggable" bool="true">
	      <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
	      <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
	    </match>
	    <match key="@block.storage_device:storage.removable" bool="true">
	      <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
	      <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
	    </match>
	  </match>
and change the .sync values to false.

Dave.
 
  


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
Async Sockets! JanusPaul Linux - Software 0 11-13-2004 05:03 PM
Another Doom3 error (async) thegoonden Linux - Games 5 10-08-2004 03:41 AM
DTR on async port iftiuk Linux - Software 0 05-19-2004 02:15 PM
Async I/O link prob mspilo Linux - Software 2 08-07-2003 03:43 PM
sync and async serial of Routers whepin General 0 11-06-2002 07:38 PM


All times are GMT -5. The time now is 07:19 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