Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 07:57:08 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/tunefs tunefs.c
Message-ID:  <200109301457.f8UEv8I92083@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/09/30 07:57:08 PDT

  Modified files:
    sbin/tunefs          tunefs.c 
  Log:
  Don't require that the special/filesystem argument translates into
  a block or character device; the rest of tunefs works just fine on
  filesystem images in regular files. Instead, if getfsfile() failed
  and if the specified filesystem is a directory then print a more
  useful "unknown file system" error.
  
  Also, _PATH_DEV already contains a trailing slash, so don't add
  another one when constructing a device path, and use errx() instead
  of err() in a case where errno is meangingless.
  
  Revision  Changes    Path
  1.20      +5 -6      src/sbin/tunefs/tunefs.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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