[systemd-devel] systemd-fsck change fsck arguments to "-a" -> "-y"

Karel Zak kzak at redhat.com
Mon Feb 18 02:52:31 PST 2013


On Wed, Feb 13, 2013 at 03:32:46AM +0100, Lennart Poettering wrote:
> > > Hmm, I wonder if -a or -y is the way to go. Karel, as util-linux/fsck
> > > maintainer, do you have an opinion whether we should use -a or -y for
> > > automatic, non-interactive fscking? Is -a obsolete and -y the future?
> > 
> >  This is gray zone... there is not explicit standard or conclusion
> >  that -a (or -p) or -y is supported by all fsck.<type> checkers.
> >  
> >  Anyway, it seems that -a is supported on more places.

 I did small investigation and result:

 extN: -a -y

 reaiser: -a -y

 vfat: -a -y

 minix:  -a

 cramfs: I'm going to improve fsck.cramfs to accept -a and -y

 xfs: fsck.xfs is dummy shell script, does nothing, accepts everything:-)

 btrfs: has --repair, it seems like synonym for -a (I'll ask for more
        details at btrfs lists)

 ntfs (-3g): does not support options at all

 
    Karel


-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list