-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
借鉴@代号10007代码如下
find /sys/fs/f2fs -iname "gc_urgent_sleep_time" -type f 2> /dev/null | while read file ;do
chmod 0666 "$file"
echo "50" > "$file"
test "$(cat $file)" = "50" && echo "修改$file成功!" || echo "修改$file失败!"
chmod 0444 "$file"
done
find /sys/fs/f2fs -iname "cp_interval" -type f 2> /dev/null | while read file ;do
chmod 0666 "$file"
echo "200" > "$file"
test "$(cat $file)" = "200" && echo "修改$file成功!" || echo "修改$file失败!"
chmod 0444 "$file"
done
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels