wiz
a464698404
Argument is regular_file, not "regular file". From YOMURA Masanori in private mail.
2005-09-11 23:49:58 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +00:00
wiz
60027a5523
Grammar fixes.
2005-07-18 14:07:18 +00:00
wiz
c5541497ba
Drop trailing whitespace.
2005-07-18 14:06:05 +00:00
hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
lukem
1fab072e48
appease gcc -Wuninitialized
2005-06-02 09:42:57 +00:00
christos
6bd1d6d4db
Replace the statfs() family of system calls with statvfs().
...
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
atatat
3e0cc7e92c
Print device names and mount points, if at all possible, instead of
...
just printing device numbers.
2004-01-25 21:49:04 +00:00
agc
326b2259b7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
wiz
c1dcf625b3
Sync usage with man page.
2003-04-16 10:29:05 +00:00
wiz
61860e9d83
Sort options in SYNOPSIS and description.
2003-04-16 10:28:55 +00:00
drochner
5f4d60be7c
Add an interface to the "force" option, and fix a bug where the
...
"readonly" flag cleared "hasgeom".
2003-04-11 16:15:28 +00:00
yamt
4962bbeda1
bump date.
2003-03-27 16:00:50 +00:00
yamt
0aaf666dea
add a new option, -r; read-only configuration.
2003-03-27 15:36:02 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
lukem
4d5f70e6b6
add DPADD for ${LIBUTIL}
2002-11-30 06:04:57 +00:00
atatat
851e916f1b
Provide a means for vnconfig to indicate which devices are in use, and
...
by which files (hmm...why can't I unmount that file system over
there). Currently this is just the device and inode number of the
file backing the vnd, but hopefully consing up full pathnames can be
done at some point.
2002-06-21 19:09:29 +00:00
wiz
10d6eb080d
Drop duplicate .Pp.
2002-03-05 15:09:26 +00:00
wiz
e1833adb69
Sort sections, sort SEE ALSO, drop a .Pp.
2002-02-02 02:08:23 +00:00
fredette
bba72d2b40
Add optional "-f disktab" argument, that will look up a disk
...
typename in the given disktab(5) file, instead of in /etc/disktab.
2001-12-12 16:55:10 +00:00
christos
22002034fe
Now that vnconfig uses opendisk(3) update it's usage encouraging use
...
of "vnd0" instead of "/dev/rvnd0{c,d}". Noted by tron.
2001-11-08 15:41:55 +00:00
tron
316d7126f6
Try to open the file before configuring a vnode disk device to avoid silly
...
error messages when the file cannot be opened for some reason. This fixes
PR bin/12445 by <knotwell@ix.netcom.com>.
2001-11-08 07:44:32 +00:00
christos
271dd3ace8
Revert previous change that accepts non-raw devices as argument. The
...
distrib Makefiles have been adjusted appropriately. This change made
block devices and char devices look the same to the naive user, and
it is not appropriate.
2001-11-08 02:14:09 +00:00
tron
73ec93c7eb
Invoke "opendisk" with "iscooked = 1" because existing makefiles and the
...
manual page used the block device.
2001-11-07 16:18:03 +00:00
lukem
6b4ee83154
<sys/stat.h> is unnecessary
2001-09-26 07:05:39 +00:00
bjh21
7447cfe382
Put sections in the canonical order (from mdoc.samples(7)).
...
Add a "HISTORY" section.
2000-10-02 16:21:27 +00:00
bjh21
87589cb557
Replace "foo is mutually exclusive of bar" with "foo and bar are mutually
...
exclusive".
2000-10-02 15:11:43 +00:00
bjh21
05b7923a90
Formatting cleanups around the description of geomspec.
2000-09-30 17:58:19 +00:00
agc
45fccde78f
Fix typo.
2000-07-20 12:41:28 +00:00
jdolecek
bb2da7d53d
__POOL_EXPOSE is no longer needed (dev/vndvar.h does protect vnd_softc from userland)
2000-03-20 13:20:28 +00:00
enami
24d448f70e
Define __POOL_EXPOSE almost at the beginning, instead of just before
...
dev/vndvar.h or dev/ccdvar.h so that struct pool is always available
regardless of multiple inclusion. Actually, ccdconfig.c compiles without
this change but ...
2000-02-16 06:52:31 +00:00
veego
d698215572
Define __POOL_EXPOSE for <dev/vndvar.h>.
1999-04-01 17:24:03 +00:00
garbled
d1407362ba
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:43:46 +00:00
tron
17aa73b995
Include "disktab.h" to get prototype for getdiskbyname().
1999-01-19 22:33:04 +00:00
msaitoh
f8c66df30b
sort entries and delete extra periods in SEE also section.
1998-05-22 18:27:50 +00:00
lukem
dc0e957a43
WARNSify
1997-10-18 03:54:00 +00:00
enami
3aeffdc83c
- Xref opendisk(3).
...
- Refer vnode disk as vnd0 instaed of vnd0c.
- Rename argument to specify vnode disk from special_file to vnode_disk.
- Explain that vnode_disk is a special file or name like vnd0.
- Add one example which uses vnd0 instead of /dev/vnd0c.
1997-10-01 01:32:59 +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
kleink
8ac2f8880a
Fix typo; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp> in PR misc/3796.
1997-06-26 19:58:17 +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
thorpej
11381ec353
Add a vnd(4) manual page and make vnconfig(8) reference it. Fixes
...
PR #445 .
1995-12-30 18:10:45 +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