No fsck! 'man fsck' works...
# fsck /dev/sdb bash: fsck: command not found [root@localhost rgm]# man fsck [root@localhost rgm]# dnf whatprovides fsck Last metadata expiration check: 2:12:23 ago on Wed 26 Sep 2018 07:28:29 PM EDT. util-linux-2.32.1-1.fc29.armv7hl : A collection of basic system utilities Repo : @System Matched from: Filename : /usr/sbin/fsck
util-linux-2.32.1-1.fc29.armv7hl : A collection of basic system utilities Repo : fedora Matched from: Filename : /usr/sbin/fsck
[root@localhost rgm]# dnf install util-linux Last metadata expiration check: 2:13:38 ago on Wed 26 Sep 2018 07:28:29 PM EDT. Package util-linux-2.32.1-1.fc29.armv7hl is already installed, skipping. Dependencies resolved. Nothing to do. Complete!
ls /usr/sbin/fs* /usr/sbin/fsadm /usr/sbin/fsck.ext3 /usr/sbin/fsck.ntfs /usr/sbin/fsck /usr/sbin/fsck.ext4 /usr/sbin/fsck.vfat /usr/sbin/fsck.btrfs /usr/sbin/fsck.fat /usr/sbin/fsck.xfs /usr/sbin/fsck.cramfs /usr/sbin/fsck.minix /usr/sbin/fsfreeze /usr/sbin/fsck.ext2 /usr/sbin/fsck.msdos /usr/sbin/fstrim
================
works fine from console, logged in as root.
On Wed, 26 Sep 2018, Robert Moskowitz wrote:
No fsck! 'man fsck' works...
# fsck /dev/sdb bash: fsck: command not found
Use su - Plain su doesn't put /usr/sbin in your PATH
On Wed, Sep 26, 2018 at 11:43:57PM -0400, Stuart D. Gathman wrote:
On Wed, 26 Sep 2018, Robert Moskowitz wrote:
No fsck! 'man fsck' works... # fsck /dev/sdb bash: fsck: command not found
Use su - Plain su doesn't put /usr/sbin in your PATH
Or use /sbin/fsck