Commit Graph

15 Commits

Author SHA1 Message Date
lukem dc0e957a43 WARNSify 1997-10-18 03:54:00 +00:00
enami 24a227ce40 In the function config(),
- Back to use `rdev' which the name of raw partition, since now opendisk(3)
  initializes `buf' except in very trivial case (it is `buf' is NULL).
- Use `rdev' instead of `dev' in verbose output.
- Output `rdev' when warn ioctl failure.
1997-09-29 06:43:14 +00:00
enami 9babafd737 In the function config(),
- Use `dev' instead of `rdev' to warn, since latter may not initialized.
- Don't use device file name as a format of warn().  Instead, pass "%s"
  explicitly.
1997-09-29 05:44:19 +00:00
enami 7dcf4bfe8e Use opendisk(3). 1997-09-29 05:24:24 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
mikel 8bbb2dbf1c check geometry string more carefully; from Enami Tsugutomo in PR bin/3809.
free string from rawdevice(); part of Enami's PR bin/3810
include <unistd.h> for close() prototype, prototype config(), and
  other misc. cleanup
1997-07-08 06:37:16 +00:00
thorpej 24ebb55ba7 Update for changes to the vnd driver:
- Add optional "geomspec" argument as third argument when configuring
  a vnode disk.  Format is: secsize/secpertrack/trackpercyl/ncylinders,
  e.g. 512/18/2/80.
- Add optional "-t typename" argument, mutually exclusive with "geomspec",
  that will look up "typename" in /etc/disktab and use the geometry
  specified in the entry.
- Update verbose output accordingly.
1997-06-23 21:11:06 +00:00
thorpej 5fdb76aa13 Add RCS ids. 1995-12-30 18:14:01 +00:00
cgd 8ae2a2e384 vn -> vnd renaming; consistency. 1995-01-25 04:32:37 +00:00
mycroft 5b44c4f24f Remove specal case on VNIOCCLR return value. 1995-01-22 07:09:54 +00:00
mycroft 679d9f5451 Clean up parsing a bit. Get rid of bogus extra arg to `-u'. Update the
usage string and man page to reality.
1995-01-22 07:06:44 +00:00
glass 481ef64aa0 vnconfig.c: removed all the silly mount/swapon functionality that never
belonged there.  much of it didn't work anyway.
vnconfig.8: update man page.  still needs work.
1995-01-22 06:18:12 +00:00
cgd 2e1f66b68b include necessary headers, improve declarations. 1994-12-23 16:23:12 +00:00
cgd 5ea3f7846b don't special case EBUSY when configging; if you try to do it 2x, second is err 1994-04-18 09:12:08 +00:00
brezak 30669098ec Add vnconfig command. 1993-12-21 04:13:39 +00:00