Add fsck.exfat and set fsck.extX instead e2fsck for extX filesystems.
This commit is contained in:
parent
d24e6d44dc
commit
1f8a1cb18e
4
README
4
README
|
|
@ -45,6 +45,10 @@ C H A N G E L O G
|
|||
VERSION 1.6.0 (CURRENT)
|
||||
|
||||
Fix long boot with devd(8) because of ugen(4) devices.
|
||||
Add fsck.exfat to the exFAT filesystem.
|
||||
Set fsck.ext2 instead of e2fsck to the ext2 filesystem.
|
||||
Set fsck.ext3 instead of e2fsck to the ext3 filesystem.
|
||||
Set fsck.ext4 instead of e2fsck to the ext4 filesystem.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
12
automount
12
automount
|
|
@ -568,7 +568,7 @@ case ${1} in
|
|||
(EXT2)
|
||||
__create_mount_point ${DEV}
|
||||
__wait_for_device ${DEV}
|
||||
e2fsck -y ${DEV} \
|
||||
fsck.ext2 -y ${DEV} \
|
||||
| while read LINE
|
||||
do
|
||||
__log "${DEV}: fsck.ext2 ${LINE}"
|
||||
|
|
@ -587,7 +587,7 @@ case ${1} in
|
|||
(EXT3)
|
||||
__create_mount_point ${DEV}
|
||||
__wait_for_device ${DEV}
|
||||
e2fsck -y ${DEV} \
|
||||
fsck.ext3 -y ${DEV} \
|
||||
| while read LINE
|
||||
do
|
||||
__log "${DEV}: fsck.ext3 ${LINE}"
|
||||
|
|
@ -606,7 +606,7 @@ case ${1} in
|
|||
(EXT4)
|
||||
__create_mount_point ${DEV}
|
||||
__wait_for_device ${DEV}
|
||||
e2fsck -y ${DEV} \
|
||||
fsck.ext4 -y ${DEV} \
|
||||
| while read LINE
|
||||
do
|
||||
__log "${DEV}: fsck.ext4 ${LINE}"
|
||||
|
|
@ -625,6 +625,12 @@ case ${1} in
|
|||
(EXFAT)
|
||||
__create_mount_point ${DEV}
|
||||
__wait_for_device ${DEV}
|
||||
fsck.exfat ${DEV} \
|
||||
| while read LINE
|
||||
do
|
||||
__log "${DEV}: fsck.exfat ${LINE}"
|
||||
done
|
||||
__wait_for_device ${DEV}
|
||||
if [ "${USER}" != 0 ]
|
||||
then
|
||||
USEROPTS="-o uid=${UID} -o gid=${GID}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue