Commit graph

134 commits

Author SHA1 Message Date
Ben Gras
da9b8e45f9 Added dev2name - translate (minor,major) device numbers, or (minor|major<<..)
device number, to /dev/* node name.
2005-07-21 13:17:56 +00:00
Ben Gras
3eb405c3bf Fixed two uninitialized-data bugs. 2005-07-18 13:44:39 +00:00
Ben Gras
5cd673c5ba Nit in compress about filenames; backup patched to use opendir() and
readdir() (old dir format didn't work)
2005-07-18 09:33:27 +00:00
Ben Gras
5c13385e40 Added sync() after logfile i/o to reduce risk of losing log entries after
e.g. crashes.
2005-07-11 13:19:29 +00:00
Philip Homburg
9bb373331c More stack for tar 2005-07-11 12:47:43 +00:00
Ben Gras
c021dafe27 usyslogd - microsyslogd that has a hard-coded configuration (read from
/dev/klog and write to /var/log/messages). It's written so that more
sources and outputs could be added easily though.
2005-07-08 17:21:50 +00:00
Ben Gras
5939b6a4d7 . fsck has A for yes-to-all response
. mkfs makes filesystems on devices >4GB, but truncates them at 4GB
2005-07-04 13:34:24 +00:00
Ben Gras
af9465adbd >4GB device detection; mkfs can make it, but FS can't use it... 2005-07-04 09:20:03 +00:00
Ben Gras
7a31b9aa12 New nice utility, imported from FreeBSD, used to run processes at a different
priority.
2005-07-01 18:00:10 +00:00
Ben Gras
d2018bb8ad Little mkfs diagnostic help 2005-07-01 09:38:45 +00:00
Ben Gras
ebd38d9a92 Added formatting fixes for larger numbers in fsck and df; made mkfs
test for devices larger than 4GB, so it won't try to test them (and print
a warning message), but it will write the FS.
2005-06-30 13:04:57 +00:00
Philip Homburg
eb3d5f2a54 More stack for chown 2005-06-29 15:27:12 +00:00
Ben Gras
bca51699a9 Removed debug statement 2005-06-28 13:08:52 +00:00
Ben Gras
850d6611eb Removed max-inode check from mkfs because of 32-bit inode numbers in V3
FS. Tested by mkfs -i 200000, fsck, file system creating with 200000
inodes, fsck again.
2005-06-28 11:58:17 +00:00
Ben Gras
53a51816a3 Wrote a printenv(1) 2005-06-27 09:41:58 +00:00
Ben Gras
1e6bc8c583 Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt()) 2005-06-27 09:32:29 +00:00
Ben Gras
ee5ecc1ad2 ast@ df nits 2005-06-27 09:02:33 +00:00
Philip Homburg
0979014807 Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
More space for synctree.
2005-06-23 11:07:31 +00:00
Ben Gras
34a9677a5b Made mkfs a little smarter about how to report empty devices.
Also a little smarter about manually specified number of blocks that is
larger than the device capacity.
2005-06-19 22:28:05 +00:00
Ben Gras
f81ac6ae5c Various compile fixes.
Imported gzip.

Changed setup script not to insist cwd is / when running from cd.
2005-06-17 13:42:53 +00:00
Jorrit Herder
f88e71c9d8 *** empty log message *** 2005-06-17 09:34:44 +00:00
Jorrit Herder
108d993201 Capitalized output. 2005-06-17 09:33:00 +00:00
Jorrit Herder
f673723b1f Minor changes in PM interface affected these commands.
Getty now retrieves the actual release and version number at runtime.
2005-06-17 08:52:53 +00:00
Ben Gras
e44e9ad261 small compile fixes; initial select() stubs; release.sh script doesn't
need /tmp any more since 16MB root device; increase to 3.0.5 to make new
CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy
workaround hasn't been done.)
2005-06-06 11:40:32 +00:00
Ben Gras
75689debe3 fixed bug that caused number of inodes to make estimation to be terrible
in most cases
2005-06-01 11:39:45 +00:00
Ben Gras
39a2fc72dd different way of dealing with fd's so chmem <arg> <long list of files>
doesn't fail due to file descriptor leaks
2005-06-01 09:31:14 +00:00
Ben Gras
64ecaca24b Changed something in default no. of inodes in mkfs (I run out of inodes
often with the defaults).

Made setup script not make root filesystem with 1kB filesystem blocks,
as that restriction is out of the boot monitor now.
2005-05-20 12:40:46 +00:00
Ben Gras
cff515edd8 made time use times() system call to get higher resolution (1/60s clock
ticks instead of 1s) for real time measurement.
2005-05-20 10:06:33 +00:00
Ben Gras
f3982bb3df hide non-copying install Makefile actions 2005-05-09 13:40:08 +00:00
Ben Gras
a792c73c84 Made us a mighty pretty progress indicator for the setup script. 2005-05-09 08:38:47 +00:00
Ben Gras
d168530a06 installed some binaries in /bin too 2005-05-04 13:45:29 +00:00
Ben Gras
8cd654f94f Made setup.sh more CD-aware (understand that the system looks like an
installed system already, but isn't).

Install sed in /bin too, so /etc/rc can use it for some /usr magic before
/usr is mounted.
2005-05-03 15:43:12 +00:00
Ben Gras
efa2322895 . Moved sysenv to /bin (as well), used to read some boot parameters
in /etc/rc before /usr is mounted
. fixed ps.c compile breakage (MM_PROC_NR rename)
. made setup.sh a little less floppy-centric (cosmetic)
. removed ps binary from cvs (whoops!)
2005-05-03 08:58:18 +00:00
Ben Gras
9865aeaa79 Initial revision 2005-04-21 14:53:53 +00:00