minix/commands
Ben Gras 49eb1f4806 vm: new secondary cache code
Primary purpose of change: to support the mmap implementation, VM must
know both (a) about some block metadata for FS cache blocks, i.e.
inode numbers and inode offsets where applicable; and (b) know about
*all* cache blocks, i.e.  also of the FS primary caches and not just
the blocks that spill into the secondary one. This changes the
interface and VM data structures.

This change is only for the interface (libminixfs) and VM data
structures; the filesystem code is unmodified, so although the
secondary cache will be used as normal, blocks will not be annotated
with inode information until the FS is modified to provide this
information. Until it is modified, mmap of files will fail gracefully
on such filesystems.

This is indicated to VFS/VM by returning ENOSYS for REQ_PEEK.

Change-Id: I1d2df6c485e6c5e89eb28d9055076cc02629594e
2013-04-24 10:18:16 +00:00
..
acknm retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID 2012-03-25 21:58:20 +02:00
acksize retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
add_route Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
arp Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
ash ASH: Fix clean target. 2013-03-08 09:41:49 +01:00
at retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
atnormalize Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
autopart Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
backup Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
basename retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
btrace Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
cawf Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
cd Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
cdprobe Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
chmod Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
chown Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
ci retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
cleantmp Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
cmp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
co retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
comm retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
compress Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
cp Importing bin/ln 2013-02-01 11:41:48 +01:00
cpp better cpp 2012-02-17 23:53:44 +01:00
crc Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
cron Removing obsolete _MINIX_SOURCE define 2013-02-26 09:44:21 +00:00
crontab Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
cut Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
dd Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
decomp16 retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
DESCRIBE Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
devmand Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00
devsize Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
df Fix buffer overflows in df(1), format(1) 2012-11-30 10:54:40 +00:00
dhcpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
dhrystone retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
diff Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
dirname Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
diskctl diskctl(8) tool 2010-08-12 14:11:28 +00:00
dosread Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
dumpcore Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
eject commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
env Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
expand retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
factor retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
fbdctl Add fbd -- Faulty Block Device driver 2011-12-11 22:45:46 +01:00
fdisk Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
fetch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
find Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
finger Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
fingerd retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID 2012-03-25 21:58:20 +02:00
fix Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
fold retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
format Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fortune Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
fsck.mfs Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
gcore gcore: uninitialized variable fix and cleanup 2011-11-23 15:56:13 +01:00
gcov-pull Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
getty Cross compile on minix support 2012-11-15 16:07:30 +01:00
grep More cleaning up 2012-02-15 19:04:58 +00:00
hexdump get rid of __LONG_LONG_SUPPORTED 2012-03-25 21:58:26 +02:00
host Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
hostaddr Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
id Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ifconfig Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ifdef retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
intr Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcrm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
ipcs Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
irdpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
isoread retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
last retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
less Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
loadfont Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
loadkeys Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
loadramdisk Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
logger Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
look Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lp Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
lpd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
lspci make all other commands use ProcFS 2010-09-14 21:31:56 +00:00
mail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
MAKEDEV fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
mdb Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
mesg retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
mined Mined: allow Ins to mark 2013-01-25 18:44:17 +01:00
mkfifo mkfifo.c: fix ack warning 2010-12-10 15:21:59 +00:00
mount Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
mt Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
netconf adjust netconf for new su behaviour 2012-03-28 17:30:56 +02:00
nice Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
nohup Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
nonamed Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
od retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
part Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
partition Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
paste retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
patch rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
ping Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
pkgin_all pkgin_all: script to auto-install all packages 2013-02-14 22:58:29 +00:00
pkgin_cd Update release script for pkgsrc 2010-09-10 17:00:30 +00:00
playwave Libraries updates and cleanup 2013-01-14 11:36:26 +01:00
postinstall Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
poweroff Restore poweroff to some of it's former glory (on QEMU, at least) 2012-11-21 20:28:37 +01:00
pr retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
pr_routes Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
prep retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
printroot Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
profile Write raw sprofile traces to preserve all information as well as save space 2012-08-10 18:49:40 +00:00
progressbar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ps Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
pwdauth Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
ramdisk Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rarpd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
rawspeed Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rcp Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
readclock remove hardcoding of system.conf path in various service calls 2010-09-10 09:22:22 +00:00
reboot Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
recwave retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
remsync Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
repartition Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
rev Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rget Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rlogin Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
rotate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
rsh Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
rshd Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
screendump commands: fixes for clang errors. 2010-07-06 12:10:23 +00:00
service vm: new secondary cache code 2013-04-24 10:18:16 +00:00
setup setup(8): only call df(1) on mounted file systems 2012-10-17 22:54:27 +02:00
shar retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sleep Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
slip Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
spell Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
split retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sprofalyze sprofalyze: fix profile data parsing 2013-02-27 17:53:27 +00:00
sprofdiff Two frees to appease Coverity 2012-08-31 20:12:57 +02:00
srccrc Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
stty Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
svclog Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
svrctl Add a simple utility to send control messages 2012-04-13 12:58:41 +00:00
swifi swifi: modernize a bit 2012-03-05 22:41:49 +01:00
synctree Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
sysenv Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
syslogd Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
tail retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tcpd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
tcpdp Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
tcpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
tee retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
telnet Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
telnetd Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
term retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
termcap retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tget Updating libcurses, libterminfo and terminfo. 2013-01-14 11:36:26 +01:00
time Remove some usage of 64bit functions (minix/u64.h) 2012-10-15 18:24:30 +02:00
touch remove utimes() workarounds 2013-04-12 18:55:40 +00:00
tr Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
truncate Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
tty retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
udpstat Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
umount Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
uname retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
unexpand retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
unstack unstack - fix ipcvecs 2013-01-04 16:17:07 +00:00
update retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
update_bootcfg TTY: "nobeep" setting to disable beeps 2013-02-15 11:06:34 +01:00
updateboot updateboot script for netbsd bootloader 2012-02-15 03:51:27 +01:00
uud Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
uue Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
version Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
vol Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
wc retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
whereis Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
which retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
worldstone worldstone: add -s for statistical profiling 2012-09-19 13:43:17 +02:00
write Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
writeisofs Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
xargs Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
zdump Remove MINIXSRCDIR and use NETBSDSRCDIR 2012-06-18 10:53:35 +00:00
zmodem Fix warnings trivial warnings. 2013-01-14 11:44:31 +01:00
Makefile Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
Makefile.inc Removing obsolete _MINIX_COMPAT define 2013-02-26 09:44:23 +00:00