freebsd-skq/sbin
mpp 2088a69616 If two files systems, /a and /b are marked as having quotas enabled
in fstab and they are normally mounted as /a/b, if /b is not mounted,
the various quota utilities will incorrectly operate with the quotas on
/a (silently) when operations are attemted on /b.

Sync up all the hasquota() routines between all the different
quota utilities and change it to detect if the file system we are
attempting to perform quota operations on is not currently mounted
and warn the user accordingly.

PR:	bin/38918
2007-02-04 06:33:15 +00:00
..
adjkerntz If not compiled for debugging, redirect standard input/output/error 2006-10-23 10:48:19 +00:00
atacontrol Add new modes. 2006-03-15 19:32:43 +00:00
atm fix typo: "adaptor" -> "adapter" 2007-01-02 21:00:45 +00:00
badsect Expand *n't contractions. 2005-02-13 22:25:33 +00:00
bsdlabel - Fix markup. 2006-12-29 16:28:38 +00:00
camcontrol typo: s/tranport layer/transport layer/ 2007-01-28 21:34:07 +00:00
ccdconfig Fix markup and some typos. 2006-04-14 09:20:25 +00:00
clri Give variable an initial value. Use errx() instead of fprintf(). 2005-05-29 16:07:10 +00:00
comcontrol Sort sections. 2005-01-18 10:09:38 +00:00
conscontrol Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
devd Fix the description of "media-type". 2006-10-24 20:20:41 +00:00
devfs - I forgot to bump a date. 2006-11-05 20:12:32 +00:00
dhclient Actually implement rev 1.12 for host names and NIS domain names. We 2007-01-29 15:55:13 +00:00
dmesg Avoid moving onto a new line while testing if there is a syslog priority 2006-02-27 19:13:47 +00:00
dump Make "dump /filesystem" (without options) work. 2006-10-12 20:22:31 +00:00
dumpfs Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. 2006-10-31 22:02:24 +00:00
dumpon Whitespace and style nits. 2006-10-31 22:36:49 +00:00
fdisk - Document -u, -i, and the difference between them better. 2006-12-12 15:26:25 +00:00
fdisk_pc98 Markup fixes. 2006-09-18 11:55:10 +00:00
ffsinfo o Fix typo. 2006-06-11 15:53:36 +00:00
fsck Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
fsck_ffs Fix -fstrict-aliasing warning. 2006-11-01 10:56:33 +00:00
fsck_msdosfs Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde Markup fixes. 2006-09-18 11:55:10 +00:00
geom Add gjournal(8) manual page. Documentation of kern.geom.journal.* sysctls 2007-01-29 22:12:22 +00:00
ggate For consistency use 'unsigned' instead of 'u_int'. 2006-12-18 11:12:00 +00:00
gpt Use strtoll(3) instead of strtol(3) for the starting block or 2006-10-04 18:20:25 +00:00
growfs Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. 2006-10-31 22:02:24 +00:00
gvinum Revise markup. 2006-09-30 11:02:17 +00:00
idmapd .PATH isn't necessary here. 2006-10-15 13:51:49 +00:00
ifconfig Backout revision 1.4; it is not verified as the correct fix for the PR. 2007-02-03 03:40:33 +00:00
init Patches to allow one to allow one to specify a directory to chroot to. 2007-02-04 06:33:13 +00:00
ipf Fix the manual build. 2006-09-10 08:58:47 +00:00
ipfw Fix a parsing bug when specifying more than one address with dotted decimal 2007-01-07 03:02:02 +00:00
kldconfig Fix malloc size (visible on amd64, with "kldconfig -r"). 2005-11-07 19:22:20 +00:00
kldload Remove mention of "lomac" as it's been gone for a good while now (at least 2006-10-13 23:59:59 +00:00
kldstat -mdoc sweep. 2005-11-18 10:36:29 +00:00
kldunload Bump a date in .Dd field. Last change brought some new functionality. 2006-02-27 22:48:58 +00:00
ldconfig Remove unused reference to objformat.h 2007-01-25 22:38:58 +00:00
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5 Fix an 11 year old mistake: Let the hash functions take a void* instead 2006-01-17 15:35:57 +00:00
mdconfig Make WITHOUT_DYNAMICROOT=foo work again: remember to reference 2006-04-01 16:34:45 +00:00
mdmfs Remove the -C option as it does more harm than good. To be fully 2006-11-03 12:02:24 +00:00
mknod Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
mksnap_ffs Make sure we don't pass garbage to the kernel. 2004-12-08 11:54:50 +00:00
mount Use pidfile(3) API to restart mountd(8) on success mount. 2007-02-02 23:58:10 +00:00
mount_autofs spell "file system" correctly 2005-01-24 20:06:16 +00:00
mount_cd9660 Fixing multi-session disc mount by passing the correct "ssector" option 2005-12-19 05:52:37 +00:00
mount_ext2fs Convert mount_ext2fs to a simple program which passes "-o option" to nmount(). 2007-01-28 00:51:01 +00:00
mount_hpfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_msdosfs Pass "errmsg" to nmount(), so that if nmount() fails, we can get 2007-01-29 01:49:08 +00:00
mount_nfs Link mount_nfs -> mount_nfs4, and mount_nfs.8 -> mount_nfs4.8. 2007-01-23 09:14:33 +00:00
mount_ntfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_nullfs Add a missing .Pp call. 2006-04-19 19:21:42 +00:00
mount_reiserfs Increase WARNS level to 6. 2005-11-13 01:47:04 +00:00
mount_std Reduce the number of errors under WARNS=6 2006-09-13 04:50:44 +00:00
mount_udf style.Makefile(5): Remove -Wall from CFLAGS. 2006-07-17 20:53:25 +00:00
mount_umapfs Use MOPT_END in favor of MOPT_NULL, which better describes the purporse 2005-06-10 09:51:43 +00:00
mount_unionfs Fix parsing of -o uid and -o gid options, so that -o uidxx and -o gidxx 2007-01-05 02:54:27 +00:00
natd Summer of Code 2005: improve libalias - part 1 of 2 2006-09-26 23:26:53 +00:00
newfs Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal 2006-10-31 21:52:28 +00:00
newfs_msdos Expand *n't contractions. 2005-02-13 22:25:33 +00:00
nfsiod When accessing the sysctl vfs.nfs.iodmax, don't report errors as being 2005-04-07 20:37:04 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Add missing library dependencies. 2006-04-13 12:49:24 +00:00
pflogd Fixed misspelling of DPADD. 2004-10-24 14:25:53 +00:00
ping Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
ping6 These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
quotacheck If two files systems, /a and /b are marked as having quotas enabled 2007-02-04 06:33:15 +00:00
rcorder do_file() is called recursively from several places and cannot 2006-05-20 05:47:18 +00:00
reboot Cross-reference nextboot(8). 2006-11-22 13:12:34 +00:00
recoverdisk Revise markup. 2006-09-30 17:21:37 +00:00
restore Add a "-D" flag to restore which puts it into "degraded" mode. This 2006-12-05 11:18:51 +00:00
route Obey MK_INET6_SUPPORT. 2006-07-27 13:26:29 +00:00
routed Sync up with rhyolite routed 2.31 which fixes the handling of varargs. 2006-11-05 14:49:47 +00:00
rtsol Add eye candy while I'm here: a blank line between 2006-07-27 18:28:14 +00:00
savecore o Restore kerneldumpheader.architectureversion bytes swopping 2005-10-02 11:31:45 +00:00
sconfig Add FBSDID, rename local variable time to not conflict with time() 2006-09-12 17:54:35 +00:00
setkey Markup fixes. 2006-09-18 11:55:10 +00:00
shutdown Use new style declarations instead of K&R ones. 2005-01-25 08:40:51 +00:00
slattach Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
spppcontrol Expand contractions. 2005-02-13 23:45:54 +00:00
startslip - Remove MLINKS to nonexistant manpages 2005-07-14 20:29:08 +00:00
sunlabel Fix grammar error caused by my previous edit. 2005-03-30 18:54:41 +00:00
swapon Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
sysctl Style: Shorten a couple of lines with u_int and u_long. 2006-12-10 06:36:41 +00:00
tunefs Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal 2006-10-31 21:52:28 +00:00
umount Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
Makefile Remove mount_nfs4 from SUBDIR list. The mount_nfs Makefile 2007-01-23 09:18:25 +00:00
Makefile.inc Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00