3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #41511 from vicgc/nilfs2-root-fix

Fixed nilfs2 fsck error at boot because its not needed by the nilfs2 filesystem
This commit is contained in:
xeji 2018-06-17 21:52:55 +02:00 committed by GitHub
commit bb8b1df729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,6 +251,9 @@ checkFS() {
# Skip fsck for bcachefs - not implemented yet.
if [ "$fsType" = bcachefs ]; then return 0; fi
# Skip fsck for nilfs2 - not needed by design and no fsck tool for this filesystem.
if [ "$fsType" = nilfs2 ]; then return 0; fi
# Skip fsck for inherently readonly filesystems.
if [ "$fsType" = squashfs ]; then return 0; fi