Re: How are external USB drives processed? TFM wanted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mikkel L. Ellertson wrote:

> Here is one I did
> for a PEN drive on a Mandriva system:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
> 
> <deviceinfo version="0.2">
>   <device>
>     <match key="info.bus" string="usb">
>       <match key="usb.vendor_id" int="0x0d7d">
>         <match key="usb.product_id" int="0x1300">
>           <append key="volume.policy.desired_mount_point"
> type="string">PENdrive</append>
>         </match>
>       </match>
>     </match>
>   </device>
> </deviceinfo>

I'm using a similar setup, but matching the partitions on the external USB
disk using
  <match key="info.parent" string="/org/freedesktop/Hal/devices/storage_serial_XXXXXXXXXXXXXXXXXXXXXXXXXX">
and then for every partition
  <match key="volume.partition.number" int="XXXXXXXX">

The <merge key="volume.policy.desired_mount_point"> part works perfectly,
but I didn't find a way to avoid the annoying "sync" mount option: tried
 <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
with no effect.

The sync option kills the writing speed of the disk: from >20MB/s to 2MB/s.

I'm still trying to like this automatic mounting stuff: at the moment it's
more annoying than useful.
There are many heavily configurable parts involved in the process:
udev, hal, KDE/GNOME. A good "all-inclusive" documentation is still
missing, as far as I've found around.

Best regards.
-- 
   Roberto Ragusa    mail at robertoragusa.it


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

  Powered by Linux