fsremap - Man Page

manual page for fsremap 0.9.4

Synopsis

fsremap [OPTION]... DEVICE LOOP-FILE [ZERO-FILE]
fsremap [OPTION]... --resume-job=JOB_ID DEVICE

Description

Replace the contents of DEVICE with the contents of LOOP-FILE, i.e. write LOOP-FILE onto DEVICE even if LOOP-FILE is inside a file system _inside_ DEVICE

Mandatory arguments to long options are mandatory for short options too.

--

end of options. treat subsequent parameters as arguments even if they start with '-'

-a,  --no-questions

automatic run: do not ask any question

--clear=all

clear all free blocks after remapping (default)

--clear=minimal

(DANGEROUS) clear only overwritten free blocks after remapping

--clear=none

(DANGEROUS) do not clear any free blocks after remapping

--cmd-umount=CMD

command to unmount DEVICE (default: /bin/umount)

--cmd-losetup=CMD 'losetup' command (default: /sbin/losetup)

--color=MODE

set messages color. MODE is one of: auto (default), none, ansi

--device-mount-point=DIR

set device mount point (needed by --io=prealloc)

-f,  --force-run

continue even if some sanity checks fail

-i,  --interactive

ask confirmation after analysis, before actual work

--io=posix

use posix I/O (default)

--io=prealloc

use posix I/O with EXPERIMENTAL preallocated files

--io=self-test

perform in-memory self-test with random data

--io=test

use test I/O. Arguments are: DEVICE-LENGTH LOOP-FILE-EXTENTS FREE-SPACE-EXTENTS

--loop-device=LOOP-DEVICE

loop device to disconnect (needed by --io=prealloc)

--loop-mount-point=DIR

set loop file mount point (needed by --io=prealloc)

-m,  --mem-buffer=RAM_SIZE[k|M|G|T|P|E|Z|Y]

set RAM buffer size (default: autodetect)

-n,  --no-action,  --simulate-run

do not actually read or write any disk block

--questions=MODE

set interactive mode. MODE is one of: no: never ask questions, abort on errors (default) yes: ask questions in case of user-fixable errors extra: also ask confirmation before dangerous steps

-q,  --quiet

be quiet, print less output

-qq

be very quiet, only print warnings or errors

--resume-job=NUM

resume the interrupted job NUM. The only non-option argument must be DEVICE. Do _not_ pass LOOP-FILE as argument, or you will LOSE YOUR DATA!

-s,  --secondary-storage=SECONDARY_SIZE[k|M|G|T|P|E|Z|Y]

set secondary storage file length (default: autodetect)

-t,  --temp-dir=DIR

write storage and log files inside DIR (default: /var/tmp/fstransform)

--ui-tty=TTY

show full-text progress on tty device TTY

-v,  --verbose

be verbose

-vv

be very verbose

-vvv

be incredibly verbose (warning: prints lots of output)

-xp,  --exact-primary-storage=PRIMARY_SIZE[k|M|G|T|P|E|Z|Y]

set _exact_ primary storage length, or fail

(default: autodetect)

-xs,  --exact-secondary-storage=SECONDARY_SIZE[k|M|G|T|P|E|Z|Y]

set _exact_ secondary storage length, or fail

(default: autodetect)

--x-OPTION=VALUE

set internal, undocumented option. for maintainers only

--help

display this help and exit

--version

output version information and exit

Info

July 2024 fsremap 0.9.4 System Administration Utilities