Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 00:01:58 -0800 (PST)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/dump main.c
Message-ID:  <200311160801.hAG81w63049545@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2003/11/16 00:01:58 PST

  FreeBSD src repository

  Modified files:
    sbin/dump            main.c 
  Log:
  Convert the live dump command (`dump -L') to use mksnap_ffs instead
  of trying to directly create the snapshot itself. This change allows
  users logged into the system as operator to run live dumps.
  
  Note that dump no longer tries to create the snapshot in the root of
  the filesystem, but rather in a .snap directory in the root of the
  filesystem. The reason is that the operator is usually not permitted
  to write into the root of the filesystem. The newfs command and
  background fsck have both been modified to create a .snap directory
  in the root of the filesystem, but if neither of these have been run,
  then the .snap directory must be created manually by the superuser
  before a live dump can be run. The .snap directory should be owned
  by user root and group operator and set to mode 770.
  
  Revision  Changes    Path
  1.55      +7 -11     src/sbin/dump/main.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311160801.hAG81w63049545>