Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek ee0384891a MFS: do not crash when reading superblock fails
While MFS failing to do I/O on a block is generally fatal, reading
the superblock at mount time is an exception: this case may occur
when the given partition is too small to contain the superblock.
Therefore, MFS should not crash or even report anything in this
case, but rather refuse to mount cleanly.

This fixes #121.

Change-Id: I11326b48922a0e0ebefecbb8eec7c428f985f2b3
2016-06-17 19:48:20 +00:00
bin Import NetBSD ps(1) 2016-01-13 20:32:52 +01:00
common w(1): switch to libkvm 2016-01-13 20:32:50 +01:00
crypto Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
distrib libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
external Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
games Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
gnu NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
include Start using sysctl(3) throughout userland 2016-01-13 20:32:45 +01:00
lib Revert "libutil: add getmaxpartitions() implementation" 2016-03-13 19:51:58 +00:00
libexec ld.elf_so: sysctl support uncommented 2016-01-16 14:04:24 +01:00
minix MFS: do not crash when reading superblock fails 2016-06-17 19:48:20 +00:00
releasetools Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys libc: enable all functionality in net/ 2016-03-13 16:03:39 +00:00
tests tests: add most kyua kernel tests 2016-01-16 14:04:25 +01:00
tools Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
usr.bin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
usr.sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00