summaryrefslogtreecommitdiffstats
path: root/sys-utils/switch_root.c
Commit message (Expand)AuthorAgeFilesLines
* misc: consolidate version printing and close_stdout()Karel Zak2019-04-161-3/+2Star
* fix a bug where switch_root would erroneously try to parse initargsPaul Asmuth2018-11-121-1/+1
* sys-utils: use errexec()Karel Zak2018-02-011-1/+1
* misc: consolidate macro style USAGE_HELP_OPTIONSRuediger Meier2017-06-291-2/+2
* misc: introduce print_usage_help_options()Ruediger Meier2017-06-271-2/+1Star
* misc: never use usage(stderr)Ruediger Meier2017-06-261-7/+12
* switch_root: use getopt_long() to parse optionsSami Kerola2017-05-101-6/+18
* switch_root: unlink files without _DIRENT_HAVE_D_TYPEPatrick Steinhardt2017-04-261-4/+7
* switch_root: simplify code and reduce indentation [oclint]Sami Kerola2016-07-211-15/+14Star
* textual: grammarize and harmonize the stat error messageBenno Schulenberg2015-02-021-2/+2
* textual: add a docstring to most of the utilitiesBenno Schulenberg2015-01-061-0/+4
* include/statfs_magic: use macro rather than type for f_typeKarel Zak2014-11-101-2/+2
* switch_root: improve statfs->f_type portabilityKarel Zak2014-11-061-2/+2
* build: fix some compiler warningsRuediger Meier2014-05-301-1/+2
* switch_root: verify initramfs by f_type, not devnoDave Reisner2014-04-041-6/+8
* switch_root: make dirent d_type usage more robustKarel Zak2014-03-041-5/+8
* switch_root: Add a sanity checkRichard Weinberger2013-02-131-1/+7
* switch_root: check open() return value [coverity scan]Karel Zak2012-09-071-0/+4
* translation: unify stat error messagesSami Kerola2012-07-161-3/+3
* sys-utils: verify writing to streams was successfulSami Kerola2012-04-041-0/+2
* switch_root: close open file after usage [cppcheck]Sami Kerola2012-02-081-0/+2
* switch_root: umount mount points we cannot move with MNT_DETACHHarald Hoyer2011-11-141-1/+5
* switch_root: add nls supportSami Kerola2011-10-301-15/+15
* switch_root: align with howto-usage-function.txtSami Kerola2011-10-301-12/+15
* switch_root: handle /run and do not mount over existing mountsHarald Hoyer2011-10-201-1/+13
* build-sys: provide alternatives for err, errx, warn and warnxFabian Groffen2011-02-141-1/+1
* Revert "switch_root: add subroot support"Karel Zak2009-11-201-76/+5Star
* switch_root: remove TIOCSCTTY and setsid()Karel Zak2009-10-091-7/+0Star
* switch_root: add subroot supportDaniel Drake2009-07-141-5/+76
* switch_root: do recursiveRemove after our root is moved to avoid races.Peter Jones2009-06-221-9/+10
* switch_root: fork before cleaning up the filesystem.Peter Jones2009-06-221-1/+7
* switch_root: use file descriptor instead of path for recursiveRemove()Peter Jones2009-06-221-12/+20
* switch_root: use snprintf() rather tan str{cpy,cat}()Karel Zak2009-06-221-3/+4
* switch_root: clean up argv[] usage, add -h and -VKarel Zak2009-06-221-20/+27
* switch_root: use err.h, clean up return codesKarel Zak2009-06-221-28/+25Star
* switch_root: rewrite to use fstatat() and unlinkat()Karel Zak2009-06-221-43/+44
* switch_root: fix coding styleKarel Zak2009-06-221-80/+70Star
* switch_root: new commandKarel Zak2009-06-221-0/+198