DragonFly BSD
DragonFly commits List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sbin/newfs defs.h fscopy.c Makefile mkfs.c newfs.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Nov 2003 20:35:40 -0800 (PST)

dillon      2003/11/30 20:35:40 PST

DragonFly src repository

  Modified files:
    sbin/newfs           Makefile mkfs.c newfs.c 
  Added files:
    sbin/newfs           defs.h fscopy.c 
  Log:
  Add the -C option to mount_mfs.  This option will automatically copy the
  underlying filesystem into the MFS mount being created over it.  It does
  this by loading the directory and file structure into memory, creating the
  MFS mount, then storing the directory and file structure back into the MFS
  mount.
  
  This will be used when booting from read-only media to generate an 'easy'
  read-write template.  For example:
  
      mount_mfs -s 16384 -C swap /var
  
  Softlinks, devices, regular files, directories, and hardlinks are maintained.
  Fifos and sockets are not copied.
  
  Revision  Changes    Path
  1.3       +2 -2      src/sbin/newfs/Makefile
  1.6       +32 -20    src/sbin/newfs/mkfs.c
  1.6       +8 -4      src/sbin/newfs/newfs.c


http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/Makefile.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/mkfs.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sbin/newfs/newfs.c.diff?r1=1.5&r2=1.6&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]