{"id":3224,"date":"2022-12-20T16:43:52","date_gmt":"2022-12-20T19:43:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/defrag-f2fs-man8\/"},"modified":"2022-12-20T16:43:52","modified_gmt":"2022-12-20T19:43:52","slug":"defrag-f2fs-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/defrag-f2fs-man8\/","title":{"rendered":"DEFRAG.F2FS (man8)"},"content":{"rendered":"<h1 align=\"center\">DEFRAG.F2FS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">defrag.f2fs \u2212 relocate blocks in a given area to the specified region<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>defrag.f2fs<\/b> [ <b>\u2212s<\/b> <i>start block address<\/i> ] [ <b>\u2212l<\/b> <i>number of blocks<\/i> ] [ <b>\u2212t<\/b> <i>target block address<\/i> ] [ <b>\u2212i<\/b> <i>direction<\/i> ] [ <b>\u2212d<\/b> <i>debugging-level<\/i> ] <i>device<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>defrag.f2fs<\/b><\/i> is used to move specified number of blocks starting from a given block address to the target block address with a direction. <i>device<\/i> is the special file corresponding to the device (e.g. <i>\/dev\/sdXX<\/i>).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For example, # defrag.f2fs -s 0x4000 -l 0x100 -t 0x10000 -i \/dev\/sdb1<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This moves blocks between 0x4000 and 0x4100 to the left-hand area of 0x10000.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The exit code returned by <b>defrag.f2fs<\/b> is 0 on success and -1 on failure.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s<\/b> <i>start block address<\/i><\/p>\n<p style=\"margin-left:22%;\">Specify the starting block address.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212l<\/b> <i>number of blocks<\/i><\/p>\n<p style=\"margin-left:22%;\">Specifiy the number of blocks to move.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t<\/b> <i>target block address<\/i><\/p>\n<p style=\"margin-left:22%;\">Specify the destination block address.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212i<\/b> <i>direction<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the direction to left. If it is not set, the direction becomes right by default.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212d<\/b> <i>debug-level<\/i><\/p>\n<p style=\"margin-left:22%;\">Specify the level of debugging options. The default number is 0, which shows basic debugging messages.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:22%; margin-top: 1em\">This version of <b>defrag.f2fs<\/b> has been written by Jaegeuk Kim <jaegeuk@kernel.org>.<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>defrag.f2fs<\/b> is available from git:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/jaegeuk\/f2fs-tools.git.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mkfs.f2fs(8), dump.f2fs(8), fsck.f2fs(8), resize.f2fs(8), sload.f2fs(8).<\/b><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  defrag.f2fs \u2212 relocate blocks in a given area to the specified region <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,362,4],"class_list":["post-3224","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-defrag","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3224"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3224\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}