List Info

Thread: Re: where are fsck return values documented?




Re: where are fsck return values documented?
user name
2008-02-23 14:43:33
In article <Pine.NEB.4.64.0802231040260.19597tx.reedmedia.net>,
Jeremy C. Reed <reedreedmedia.net> wrote:
>I see /etc/rc.d/fsck checks fsck return values.
>
>Where are they documented?

They are documented now in fsck.8

>I see some in fsck_* sources.
>
>I think 4 is for fsck_msdos.
>
>8 is in fsck_msdos and fsck_ffs and fsck_lfs
>
>fsck_ext2fs, fsck_ffs and fsck_lfs have 12
>
>I am not sure about 2.
>
>And where does 130 come from?
>
>  Jeremy C. Reed
>

128 + 2 [SIGNALLED + SIGINT], should not really be there,
but fsck_msdos
does not catch signals :-( Someone should fix it 

christos


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )