Re: [arch-projects] [mkinitcpio] fsck install hook improvements
2018-02-13 16:27 GMT-02:00 Dave Reisner : > On Tue, Feb 13, 2018 at 04:19:33PM -0200, Marcos Mello via arch-projects > wrote: >> - EXT, JFS and ReiserFS cleanup (install main tools and create >> required symlinks). >> - Only install /etc/e2fsck.conf for EXT filesystems. >> - Btrfs and XFS are special: their fscks do nothing (well, at least >> they show what tool to run). Users need xfs_repair and btrfs installed >> to try to fix the filesystem from initramfs. These tools do not have a >> "preen" mode. >> - Adapt the non-autodetect case accordingly. > > Why do you want to aid in running fsck tools which are explicitly NOT > meant to be run on a regular basis? xfs_repair and btrfs will not run (fsck.xfs and fsck.btrfs are still there), we just install them. In case of severe damage users will try: # fsck /dev/foo fsck from util-linux 2.31.1 If you wish to check the consistency of an XFS filesystem or repair a damaged filesystem, see xfs_repair(8). And they will have xfs_repair at hand.
Re: [arch-projects] [mkinitcpio] fsck install hook improvements
On Tue, Feb 13, 2018 at 04:19:33PM -0200, Marcos Mello via arch-projects wrote: > - EXT, JFS and ReiserFS cleanup (install main tools and create > required symlinks). > - Only install /etc/e2fsck.conf for EXT filesystems. > - Btrfs and XFS are special: their fscks do nothing (well, at least > they show what tool to run). Users need xfs_repair and btrfs installed > to try to fix the filesystem from initramfs. These tools do not have a > "preen" mode. > - Adapt the non-autodetect case accordingly. Why do you want to aid in running fsck tools which are explicitly NOT meant to be run on a regular basis?
[arch-projects] [mkinitcpio] fsck install hook improvements
- EXT, JFS and ReiserFS cleanup (install main tools and create required symlinks). - Only install /etc/e2fsck.conf for EXT filesystems. - Btrfs and XFS are special: their fscks do nothing (well, at least they show what tool to run). Users need xfs_repair and btrfs installed to try to fix the filesystem from initramfs. These tools do not have a "preen" mode. - Adapt the non-autodetect case accordingly. mkinitcpio.patch Description: Binary data