Wednesday, September 26, 2018

[fedora-arm] F29 beta - why does fsck not work from su?

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.

_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org

No comments:

Post a Comment