Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 10:40:23 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/sys mount.2 src/sbin/umount umount.c src/sys/sys mount.h src/sys/kern vfs_mount.c
Message-ID:  <200307011740.h61HeNov070543@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2003/07/01 10:40:23 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/sys         mount.2 
    sbin/umount          umount.c 
    sys/sys              mount.h 
    sys/kern             vfs_mount.c 
  Log:
  Add a new mount flag MNT_BYFSID that can be used to unmount a file
  system by specifying the file system ID instead of a path. Use this
  by default in umount(8). This avoids the need to perform any vnode
  operations to look up the mount point, so it makes it possible to
  unmount a file system whose root vnode cannot be looked up (e.g.
  due to a dead NFS server, or a file system that has become detached
  from the hierarchy because an underlying file system was unmounted).
  It also provides an unambiguous way to specify which file system is
  to be unmunted.
  
  Since the ability to unmount using a path name is retained only for
  compatibility, that case now just uses a simple string comparison
  of the supplied path against f_mntonname of each mounted file system.
  
  Discussed on:   freebsd-arch
  mdoc help from: ru
  
  Revision  Changes    Path
  1.36      +17 -1     src/lib/libc/sys/mount.2
  1.35      +71 -70    src/sbin/umount/umount.c
  1.109     +32 -23    src/sys/kern/vfs_mount.c
  1.148     +2 -5      src/sys/sys/mount.h



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