tech-misc archive

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

Re: where are fsck return values documented?



In article <Pine.NEB.4.64.0802231040260.19597%tx.reedmedia.net@localhost>,
Jeremy C. Reed <reed%reedmedia.net@localhost> 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



Home | Main Index | Thread Index | Old Index