mkinitcpio/fsck.btrfs

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



Dear list,

here is my mkinitcpio hook list.

HOOKS="base udev autodetect block lvm2 filesystems fsck usr usbinput
shutdown modconf"

When # mkinitcpio, I get this error:
  -> Running build hook: [fsck]
==> ERROR: file not found: `fsck.btrfs'
==> WARNING: No fsck helpers found. fsck will not be run on boot.

The initramfs-linux.img is still correct, but I was wondering why this
error.
When reading the /usr/lib/initcpio/install/fsck script, it seems to me
fsck will add the filesystem name and run
/usr/bin/fsck.filesystemame.This will of course translate to fsck.btrfs,
which does not exist. /usr/bin/btrfsck is the correct binary.
According to /usr/lib/initcpio/install/btrfs script, the btrfs hook is
not needed when using udev.

How can I solve this issue? Shall I add the btrfs hook? 

Thank you for advices.

Regards.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux