Web lists-archives.com

Re: Partition information as text file?




On Wed, 30 Jan 2019 at 01:30, Richard Owlett <rowlett@xxxxxxxxxxx> wrote:
> On 01/28/2019 01:43 PM, Pascal Hambourg wrote:
> >
> > The total and used/free space in ext and FAT filesystems can be computed
> > from the output of tune2fs -l/dumpe2fs -h and fsck.dos -n.
>
> I assume "fsck.dos" is a typo as
> [https://dyn.manpages.debian.org/jump?suite=stretch&binarypkg=dosfstools&section=8&language=en&q=fsck.dos]
>      yields
> "Sorry, the manpage “fsck.dos” was not found!"

In case you are not aware, here's a way to investigate that ...

$ apt-file search fsck.dos

gave no output, so I broadened the net ...

$ apt-file search fsck | grep dos
dosfstools: /sbin/dosfsck
dosfstools: /sbin/fsck.fat
dosfstools: /sbin/fsck.msdos
dosfstools: /sbin/fsck.vfat
dosfstools: /usr/share/doc/dosfstools/ChangeLog.dosfsck
dosfstools: /usr/share/doc/dosfstools/README.dosfsck
dosfstools: /usr/share/man/man8/dosfsck.8.gz
dosfstools: /usr/share/man/man8/fsck.fat.8.gz
dosfstools: /usr/share/man/man8/fsck.msdos.8.gz
dosfstools: /usr/share/man/man8/fsck.vfat.8.gz
manpages-fr-extra: /usr/share/man/fr/man8/dosfsck.8.gz
manpages-fr-extra: /usr/share/man/fr/man8/fsck.msdos.8.gz
manpages-pl: /usr/share/man/pl/man8/dosfsck.8.gz
manpages-pl: /usr/share/man/pl/man8/fsck.msdos.8.gz

Maybe it's a typo mixup of 'dosfsck' and 'fsck.msdos',
which are both symlinks to the same executable ...

$ ls -l /sbin/dosfsck
lrwxrwxrwx 1 root root 8 2017-01-25 10:48 /sbin/dosfsck -> fsck.fat
$ ls -l /sbin/fsck.msdos
lrwxrwxrwx 1 root root 8 2017-01-25 10:48 /sbin/fsck.msdos -> fsck.fat