| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
the mount is completely active, causing the next few commands attempting
to manipulate data on the mount to fail. mount_mfs's parent now tries
to wait for the mount point st_dev to change before returning, indicating
that the mount has gone active.
|
|
|
|
| |
line breaks in rev.1.16-1.18.
|
| |
|
|
|
|
| |
references there, and rev.1.38 of sys/ufs/ufs/ufs_disksubr.c.
|
|
|
|
|
|
|
| |
and we don't use the frags info, so why bother? More to the point, it
seems to result in an EXDEV error when the label is written out and we
lose because of it (don't know why though). This is a work-around and
is marked as such.
|
|
|
|
| |
Observed by: jkh
|
|
|
|
|
|
|
| |
Correct checks for null special file names
Add Usage entry for -v flag
Get terminology straight in man page
Reviewed by: bde
|
|
|
|
| |
Correct terminology (partitions are in slices, not the other way around)
|
|
|
|
|
|
|
|
| |
Add -v flag to newfs:
-v Specify that the partition does not contain any slices, and that
newfs should treat the whole partition as the file system. This
option is useful for synthetic disks such as ccd and vinum.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in rev.1.9). fsck uses the per-partition ffs-related information
in the label to find alternate superblocks when the main superblock
is hosed. Rev.1.9 broke this by deleting the code that wrote the
label.
PR: 2537
xref: fsck/setup.c rev.1.8
|
|
|
|
| |
Found by: Bruce.
|
|
|
|
| |
Do not \n nor dot terminate syslog()/err() messages. -Wall.
|
| |
|
|
|
|
|
|
| |
for filesystems with almost the maximum number of sectors. The maxiumum
is 2^31, but overflow is common for that size, and overflow normally
occurred here at size (2^31 - 4096).
|
|
|
|
|
|
| |
PR: 4485
Reviewed by: phk
Submitted by: Kees Jan Koster <kjk1@ukc.ac.uk>
|
|
|
|
| |
the default.
|
|
|
|
|
|
|
| |
size was rounded up to a multiple of the fragment size, but this
gave invalid file systems when the fragment size was > SBSIZE (fsck
aborts early on them). Now a fragment size of 32768 seems to work
(too-simple tests with fsck and iozone worked).
|
| |
|
|
|
|
| |
Also update to a more realistic example.
|
|
|
|
|
|
|
|
|
|
| |
higher up in memory (0x0800000 upwards) rather than near zero (0x1000
for our qmagic a.out format). The method that mount_mfs uses to allocate
the memory within data size rlimits for the ram disk is entirely too much
of a kludge for my liking. I mean, if it's run as root, surely it makes
sense to just raise the resource limits to infinity or something, and if
it's a non-root user mount (do these work? with mfs?) it could just fail
if it's outside limits.
|
|
|
|
|
|
|
| |
better hack in ffs_vfsops.c. The hack here restricted the maximum file
size to 2^39 bytes (512GB). fs_bsize * 2^31 - 1 (16TB for the default
blocksize of 8K) would have been better. There is no good way to remove
this limit on old BSD4.4 file systems.
|
|
|
|
|
|
|
|
| |
This makes configuration of mfs /tmp on diskless clients more intuitive
for people like me, that have used this feature on NetBSD and SunOS.
Using the -T option and /dev/null, while already supported,
is neither intuitive nor documented in the handbook.
Obtained from: NetBSD
|
| |
|
|
|
|
|
| |
PR: Closes PR docs/3488
Submitted by: k-horik@yk.rim.or.jp
|
|
|
|
|
|
|
|
|
|
|
| |
it's internal malloc() implementation to try and avoid overstepping it's
resource limits (yuk!). Remain using libc's malloc(), but check the
resource limits right before trying to malloc the ramdisk space and leave
some spare memory for libc. In Andrey's words, the internal malloc
was "true evil".. Among it's sins is it's ability to allocate less memory
than asked for and still return success. stdio would just love that. :-)
Reviewed by: ache
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
| |
Not replace malloc() family for non-standalone variant
Pay attention on malloc() family return code now
Use srandomdev() now for RNG initialization
|
|
|
|
|
|
|
|
|
| |
automatically have random generation numbers. The kenel way of handling those
also changed. Further it is advised to run fsirand on all your nfs exported
filesystems. the code is mostly copied from OpenBSD, with the randomization
chanegd to use /dev/urandom
Reviewed by: Garrett
Obtained from: OpenBSD
|
|
|
|
|
|
| |
- use new getvfsbyname() and mount(2) interface (mount_mfs)
- use new fs include files
- updated inode / cg layout calculations (?)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
|
| |
|
|
|
|
| |
default values for some options better. Closes PR# 1374.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the sd & od drivers. There is also slight changes to fdisk & newfs
in order to comply with different sectorsizes.
Currently sectors of size 512, 1024 & 2048 are supported, the only
restriction beeing in fdisk, which hunts for the sectorsize of
the device.
This is based on patches to od.c and the other system files by
John Gumb & Barry Scott, minor changes and the sd.c patches by
me.
There also exist some patches for the msdos filesys code, but I
havn't been able to test those (yet).
John Gumb (john@talisker.demon.co.uk)
Barry Scott (barry@scottb.demon.co.uk)
|
|
|
|
| |
ts_nsec -> tv_nsec
|
| |
|
|
|
|
| |
Submitted by: satoshi
|
| |
|
|
|
|
|
| |
even for larger partitions. Until now, partition sizes > 500 MB messed
up the screen.
|
|
|
|
| |
scsiformat(8) (which we do have). Closes PR# 663.
|
|
|
|
|
|
|
| |
LKM loading if it was not configured into the system.
Note that the LKM for MFS is not enabled by default, but I got it working on
my machine.. I'll see what I did..
|
| |
|
|
|
|
|
| |
warning for the default case where the user hasn't specified either -t
or -u on the command line. It's been confusing our users.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
in a couple of cases, and it doesn't do much anyway. It used to save only
the newfs params (block/frag/cgroup.. and nothing more. Something that
don't belong in a disklabel in the first place.
|
| |
|