minix/commands/simple
Thomas Veerman b47483433c Added a hack to start binaries from the boot image only. In particular, setting
bin_img=1 in the boot monitor will make sure that during the boot procedure the
mfs binary that is part of the boot image is the only binary that is used to
mount partitions. This is useful when for some reason the mfs binary on disk 
malfunctions, rendering Minix unable to boot. By setting bin_img=1, the binary
on disk is ignored and the binary in the boot image is used instead.

- 'service' now accepts an additional flag -r. -r implies -c. -r instructs RS
  to first look in memory if the binary has already been copied to memory and
  execute that version, instead of loading the binary from disk. For example,
  the first time a MFS is being started it is copied (-c) to memory and
  executed from there. The second time MFS is being started this way, RS will
  look in memory for a previously copied MFS binary and reuse it if it exists.
- The mount and newroot commands now accept an additional flag -i, which
  instructs them to set the MS_REUSE flag in the mount flags.
- The mount system call now supports the MS_REUSE flag and invokes 'service'
  with the -r flag when MS_REUSE is set.
- /etc/rc and the rc script that's included in the boot image check for the
  existence of the bin_img flag in the boot monitor, and invoke mount and 
  newroot with the -i flag accordingly.
2009-08-18 11:36:01 +00:00
..
add_route.c Fix warning (gcc) 2005-10-10 16:10:27 +00:00
arp.c ARP command. 2005-11-08 12:09:00 +00:00
at.c Initial revision 2005-04-21 14:53:53 +00:00
backup.c Nit in compress about filenames; backup patched to use opendir() and 2005-07-18 09:33:27 +00:00
badblocks.c - Moved (u)mount prototypes from unistd.h to sys/mount.h. 2009-08-12 19:57:37 +00:00
banner.c Initial revision 2005-04-21 14:53:53 +00:00
basename.c Initial revision 2005-04-21 14:53:53 +00:00
build ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
cal.c Initial revision 2005-04-21 14:53:53 +00:00
calendar.c Compiler warning fix 2006-03-24 14:08:51 +00:00
cat.c Initial revision 2005-04-21 14:53:53 +00:00
cdiff.c Initial revision 2005-04-21 14:53:53 +00:00
cdprobe.c fix for commands that try to include mfs constants from vfs 2009-05-08 20:37:06 +00:00
cgrep.c Compiler warning fix 2006-03-24 14:08:51 +00:00
chmem.c Let chmem return error code on failure 2005-11-03 16:58:10 +00:00
chmod.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
chown.c Initial revision 2005-04-21 14:53:53 +00:00
chroot.c . verbose recovery of tcpd 2006-03-15 14:39:20 +00:00
ci.c Initial revision 2005-04-21 14:53:53 +00:00
cksum.c Initial revision 2005-04-21 14:53:53 +00:00
cleantmp.c Initial revision 2005-04-21 14:53:53 +00:00
cmp.c Initial revision 2005-04-21 14:53:53 +00:00
co.c Initial revision 2005-04-21 14:53:53 +00:00
comm.c Initial revision 2005-04-21 14:53:53 +00:00
compress.c Nit in compress about filenames; backup patched to use opendir() and 2005-07-18 09:33:27 +00:00
cp.c *** empty log message *** 2005-08-11 16:18:53 +00:00
crc.c Initial revision 2005-04-21 14:53:53 +00:00
cut.c Initial revision 2005-04-21 14:53:53 +00:00
dd.c Initial revision 2005-04-21 14:53:53 +00:00
decomp16.c Initial revision 2005-04-21 14:53:53 +00:00
dev2name.c Added dev2name - translate (minor,major) device numbers, or (minor|major<<..) 2005-07-21 13:17:56 +00:00
devsize.c devsize bug 2005-09-13 09:57:40 +00:00
df.c Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
dhrystone.c Initial revision 2005-04-21 14:53:53 +00:00
diff.c Removed debug statement 2005-06-28 13:08:52 +00:00
dirname.c Initial revision 2005-04-21 14:53:53 +00:00
du.c Initial revision 2005-04-21 14:53:53 +00:00
dumpcore.c Split of architecture-dependent and -independent functions for i386, 2006-12-22 15:22:27 +00:00
ed.c Initial revision 2005-04-21 14:53:53 +00:00
eject.c Initial revision 2005-04-21 14:53:53 +00:00
env.c Initial revision 2005-04-21 14:53:53 +00:00
expand.c Initial revision 2005-04-21 14:53:53 +00:00
factor.c Initial revision 2005-04-21 14:53:53 +00:00
fgrep.c Compiler warning fix 2006-03-24 14:08:51 +00:00
file.c Initial revision 2005-04-21 14:53:53 +00:00
find.c make find accept -type p for FIFOs 2006-04-01 00:04:29 +00:00
finger.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
fix.c Initial revision 2005-04-21 14:53:53 +00:00
fold.c Initial revision 2005-04-21 14:53:53 +00:00
fortune.c Initial revision 2005-04-21 14:53:53 +00:00
fsck.c remove debug (%d) in fsck 2007-01-16 16:52:51 +00:00
fsck1.c Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
getty.c PRettify getty banner with tty name 2005-08-16 11:31:08 +00:00
gomoku.c Initial revision 2005-04-21 14:53:53 +00:00
grep.c Fix compiler warning 2006-03-24 14:07:45 +00:00
head.c Initial revision 2005-04-21 14:53:53 +00:00
host.c Various compile fixes. 2005-06-17 13:42:53 +00:00
hostaddr.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
id.c added -u flag to id for easypack 2005-12-12 13:55:58 +00:00
ifconfig.c Initial revision 2005-04-21 14:53:53 +00:00
ifdef.c Initial revision 2005-04-21 14:53:53 +00:00
in.fingerd.c Initial revision 2005-04-21 14:53:53 +00:00
in.rshd.c Initial revision 2005-04-21 14:53:53 +00:00
install.c Fixed two uninitialized-data bugs. 2005-07-18 13:44:39 +00:00
intr.c Initial revision 2005-04-21 14:53:53 +00:00
irdpd.c Initial revision 2005-04-21 14:53:53 +00:00
isoread.c isodir prints one entry on each line without padding or trailing slashes 2006-02-03 12:59:58 +00:00
join.c Initial revision 2005-04-21 14:53:53 +00:00
kill.c Support for setitimer(ITIMER_VIRTUAL/ITIMER_PROF). New test (41) for setitimer. 2009-08-15 21:37:26 +00:00
last.c Basic VM and other minor improvements. 2008-11-19 12:26:10 +00:00
leave.c Initial revision 2005-04-21 14:53:53 +00:00
life.c Initial revision 2005-04-21 14:53:53 +00:00
loadramdisk.c Initial root filesystem is now on a ramdisk that is part of the image. 2006-02-15 11:18:21 +00:00
login.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
look.c Initial revision 2005-04-21 14:53:53 +00:00
lp.c Initial revision 2005-04-21 14:53:53 +00:00
lpd.c Initial revision 2005-04-21 14:53:53 +00:00
ls.c Initial revision 2005-04-21 14:53:53 +00:00
mail.c Initial revision 2005-04-21 14:53:53 +00:00
Makefile Restore last(1) and uptime(1) building/installing. 2009-06-23 12:22:35 +00:00
man.c Merge of kjb's update to man system to move section 9 to 1x. 2007-03-05 16:31:39 +00:00
mesg.c Initial revision 2005-04-21 14:53:53 +00:00
mkdir.c Fix 2005-10-10 09:03:11 +00:00
mkfifo.c Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5. 2005-06-23 11:07:31 +00:00
mkfs.c Check for firstdatazone overflow. 2009-02-17 13:01:25 +00:00
mknod.c Initial revision 2005-04-21 14:53:53 +00:00
mkproto.c fixes to include major() and minor() in system header files (in a different 2006-01-27 13:57:18 +00:00
mkswap.c Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
modem.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
mount.c Added a hack to start binaries from the boot image only. In particular, setting 2009-08-18 11:36:01 +00:00
mt.c Initial revision 2005-04-21 14:53:53 +00:00
newroot.c Added a hack to start binaries from the boot image only. In particular, setting 2009-08-18 11:36:01 +00:00
nice.c New nice utility, imported from FreeBSD, used to run processes at a different 2005-07-01 18:00:10 +00:00
nm.c Initial revision 2005-04-21 14:53:53 +00:00
nonamed.c added -L option that makes nonamed ignore queries that don't come from 2006-04-11 13:42:29 +00:00
od.c Initial revision 2005-04-21 14:53:53 +00:00
origmkfs.c Initial revision 2005-04-21 14:53:53 +00:00
passwd.c Initial revision 2005-04-21 14:53:53 +00:00
paste.c Initial revision 2005-04-21 14:53:53 +00:00
ping.c Initial revision 2005-04-21 14:53:53 +00:00
pr.c Initial revision 2005-04-21 14:53:53 +00:00
pr_routes.c Initial revision 2005-04-21 14:53:53 +00:00
prep.c Initial revision 2005-04-21 14:53:53 +00:00
printenv.c Wrote a printenv(1) 2005-06-27 09:41:58 +00:00
printf.c Initial revision 2005-04-21 14:53:53 +00:00
printroot.c Initial revision 2005-04-21 14:53:53 +00:00
progressbar.c Accept 0 things to indicate progress of 2005-09-09 16:02:43 +00:00
proto.c Initial revision 2005-04-21 14:53:53 +00:00
pwd.c Initial revision 2005-04-21 14:53:53 +00:00
pwdauth.c Initial revision 2005-04-21 14:53:53 +00:00
ramdisk.c multiple ram disks; also make release process use this 2009-03-19 13:48:19 +00:00
rarpd.c Initial revision 2005-04-21 14:53:53 +00:00
rawspeed.c Added rawspeed. 2006-03-07 14:12:51 +00:00
rcp.c Initial revision 2005-04-21 14:53:53 +00:00
rdate.c Initial revision 2005-04-21 14:53:53 +00:00
readall.c . readall: use lseek64() to read more than 4GB of a device 2007-04-24 13:27:33 +00:00
readfs.c Merge of VFS by Balasz Gerofi with Minix trunk. 2006-10-25 13:40:36 +00:00
remsync.c Initial revision 2005-04-21 14:53:53 +00:00
rev.c Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt()) 2005-06-27 09:32:29 +00:00
rget.c Initial revision 2005-04-21 14:53:53 +00:00
rlogin.c Make rlogin compile under non-minix-vmd with SIGWINCH defined 2005-10-03 12:02:43 +00:00
rmdir.c Initial revision 2005-04-21 14:53:53 +00:00
rsh.c Various compile fixes. 2005-06-17 13:42:53 +00:00
sed.c Revert back to previous minised 2006-11-17 16:12:08 +00:00
shar.c Initial revision 2005-04-21 14:53:53 +00:00
size.c Initial revision 2005-04-21 14:53:53 +00:00
sleep.c Initial revision 2005-04-21 14:53:53 +00:00
slip.c Initial revision 2005-04-21 14:53:53 +00:00
sort.c Initial revision 2005-04-21 14:53:53 +00:00
split.c Initial revision 2005-04-21 14:53:53 +00:00
stat.c Reverted accidental change to stat.c. 2008-10-02 14:11:12 +00:00
strings.c Initial revision 2005-04-21 14:53:53 +00:00
strip.c Initial revision 2005-04-21 14:53:53 +00:00
stty.c Initial revision 2005-04-21 14:53:53 +00:00
su.c Let su report something more useful when shells fail to exec() 2006-03-27 11:08:17 +00:00
sum.c Initial revision 2005-04-21 14:53:53 +00:00
swapfs.c Initial revision 2005-04-21 14:53:53 +00:00
sync.c Initial revision 2005-04-21 14:53:53 +00:00
synctree.c Initial revision 2005-04-21 14:53:53 +00:00
sysenv.c . flex moved back into the base system, so prefix is /usr 2006-06-20 08:46:45 +00:00
tail.c Initial revision 2005-04-21 14:53:53 +00:00
tar.c Stopgap for tar creating insane group ownerships due to tiny gid_t. 2006-06-27 16:30:46 +00:00
tcpd.c Pass 'service' instead of 'argv[1]' to servxcheck. 2006-08-10 14:13:28 +00:00
tcpstat.c Changes so the HZ constant isn't needed any more. 2008-12-11 14:27:18 +00:00
tee.c Initial revision 2005-04-21 14:53:53 +00:00
term.c Initial revision 2005-04-21 14:53:53 +00:00
termcap.c Initial revision 2005-04-21 14:53:53 +00:00
tget.c Initial revision 2005-04-21 14:53:53 +00:00
time.c made time use times() system call to get higher resolution (1/60s clock 2005-05-20 10:06:33 +00:00
top.c Changes so the HZ constant isn't needed any more. 2008-12-11 14:27:18 +00:00
touch.c Initial revision 2005-04-21 14:53:53 +00:00
tr.c Initial revision 2005-04-21 14:53:53 +00:00
treecmp.c Imported treecmp 2005-07-22 18:30:23 +00:00
truncate.c Ported bsd truncate(1) 2005-12-23 16:36:00 +00:00
tsort.c Initial revision 2005-04-21 14:53:53 +00:00
ttt.c Initial revision 2005-04-21 14:53:53 +00:00
tty.c Initial revision 2005-04-21 14:53:53 +00:00
udpstat.c More stack for tcpd. 2006-07-13 13:19:48 +00:00
umount.c - Moved (u)mount prototypes from unistd.h to sys/mount.h. 2009-08-12 19:57:37 +00:00
uname.c small compile fixes; initial select() stubs; release.sh script doesn't 2005-06-06 11:40:32 +00:00
unexpand.c Initial revision 2005-04-21 14:53:53 +00:00
uniq.c Initial revision 2005-04-21 14:53:53 +00:00
update.c Initial revision 2005-04-21 14:53:53 +00:00
uud.c Initial revision 2005-04-21 14:53:53 +00:00
uue.c Initial revision 2005-04-21 14:53:53 +00:00
vol.c Initial revision 2005-04-21 14:53:53 +00:00
wc.c Initial revision 2005-04-21 14:53:53 +00:00
which.c Initial revision 2005-04-21 14:53:53 +00:00
who.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
whoami.c Initial revision 2005-04-21 14:53:53 +00:00
write.c Update commands to use paths from <minix/paths.h> instead of 2005-08-26 12:14:54 +00:00
writeisofs.c -h option for harddisk emulation 2005-08-15 14:08:18 +00:00
xargs.c Can't exec() with long arguments - slightly reduce default nargs under 2006-03-26 17:44:29 +00:00
yes.c Initial revision 2005-04-21 14:53:53 +00:00