"commit" option in /etc/fstab

Colin Watson cjwatson at ubuntu.com
Mon Sep 26 18:26:17 UTC 2011


On Wed, Sep 14, 2011 at 06:31:58PM +0300, Ioannis Vranos wrote:
> For an ext4 partition I have, I want to mount it with the default
> options, with only one modification: commit=300
> 
> 
> So, are these the right options?
> 
> /dev/sdc1    /mnt/hdd    ext4     defaults,commit=300    0   2

This will work, but you could also just say:

/dev/sdc1    /mnt/hdd    ext4     commit=300    0   2

"defaults" is only needed if it's the only thing in that field.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list