On Mon, 27 Mar 2006 17:45:33 +0100, Michael Kintzios wrote:

> > My fstab, if anyone's wondering:
> >
> >   /dev/sda1       /mnt/usb    auto        noauto,user     0 0
>  
> Shouldn't   "/dev/sda1       /mnt/usb    auto        noauto,user     0
> 0" also contain async to avoid burning it out?

async is default when mounting via fstab, you can check it with "mount"
after mounting the device. automounters tend to mount sync, to avoid
filesystem damage when unplugging without unmounting. I have the
following in /etc/hal/fdi/policy/storage-policy.fdi to have them
automounted async.

<!-- Use noatime and async options for all hotpluggable or removable volumes 
smaller than 2GB -->
<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">false</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">false</merge>
                <merge key="volume.policy.mount_option.noatime" 
type="bool">true</merge>
        </match>
</match>


-- 
Neil Bothwick

"The perceived world; 1) mine, 2) yours."

Attachment: signature.asc
Description: PGP signature

Reply via email to