Age | Commit message (Collapse) | Author |
|
Useful for mount_mfs, now you can just say:
# mount_mfs -s 50m swap /tmp
And it will do what you want, taking into account sector size.
Old behaviour of -s (specifying count of sectors) is, of course,
preserved.
All the work was done by Vadim Zhukov (persgray(at)gmail com).
OK myself, otto@, thib@
|
|
|
|
|
|
ok deraadt
|
|
|
|
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include
<sys/dkio.h> to the places that actually want and use the disk
ioctls.
this became an issue when krw@'s X build failed when he was testing
a change to dkio.h.
tested by krw@
help from and ok miod@
|
|
benefit from planned changes to opendev(3).
ok krw@ marco@
|
|
identifier, allowing the disk to be identified without relying on the
device name.
ok deraadt@ krw@ beck@ marco@ todd@
|
|
512-byte blocks. Better than just blowing up. Tweak man page to document
this and clarify various things.
Inspired by problems noted during an install by Harald Dunkel.
Suggestions and man page corrections from otto@ and jmc@
ok beck@
|
|
512) bytes; ffs is inextricably tied to using b_blkno and disklabel
always uses sectorsize units.
Thus use DEV_BSIZE units for all fields describing ffs filesystems
and convert to/from sectors where required. This enables the creation
and use of ffs filesystems on non-512 byte sectorsize devices.
This diff allows i386 and sgi (the two test platforms) to find
disklabels that are not on a sectorsize boundary. Same change to
further archs coming.
This is a no-op on 512-byte sectorsize devices.
This work triggered by jsing@'s need to create ffs filesystems on
sgi cdroms so we can create cdrom install media for sgi.
sgi testing by jsing@
ok jsing@ pedro@ "looks sane" beck@ weingart@
|
|
deraadt@
|
|
either from the disklabel or via -S, is not 512 bytes. Disklabel
partition sizes are sectors and not 512 byte blocks. One less 'block
is 512 bytes' assumption. 2^32 or so to go.
ok otto@ millert@
|
|
|
|
options left of the old tuning list, and it makes sense to have one list
now
- document -T. this was requested by todd (fries), and comes largely from
the description in netbsd's page of the same name
ok millert otto
|
|
here.
ok millert, otto
|
|
-1.
ok henning@ beck@ ray@
|
|
'please fix' jmc
|
|
|
|
|
|
a relative path: use realpath to only mount with absolute names.
ok deraadt thib
|
|
|
|
won't work yet. There remains sys/ufs work. ok deraadt@
|
|
|
|
|
|
|
|
free room in struct partition by packing fragment size and
fragments/block more tighlty and use the resulting space to make
offset and size 48 bits. For the disk part we use spare fields in
struct disklabel. Kernel converts in-mem copy of the on-disk
label if needed, disklabel(8) writes new version.
We are careful to only change fields not used by bootloaders.
Conception of basic scheme by deraadt.
ok deraadt@ krw@
|
|
|
|
recommit the -c changes. For now, we warn only if we cannot honour -c.
ok millert@ deraadt@
|
|
changes obviously *MUST* be checked against whatever weird things the
floppies do to fit
|
|
variable name; correct the loop packing more inodes into the cg:
in some cases it could put more fragments into the cg than requested;
give an error if the -c option cannot be honoured. ok millert@ pedro@
|
|
ok otto@
|
|
|
|
as matched by the man page; ok millert
|
|
of a constant-sized track is obsolete in today's world of variable
blocks per track disks so the cylinder group packing algorithm has
been updated. Based on the ufs2 changes in FreeBSD by Kirk McKusick.
From pedro@ with changes by me as well as a few from NetBSD.
OK pedro@ beck@ thib@ and tested by more...
|
|
|
|
OK deraadt @, OK in principle tedu@
|
|
the default, quiet gcc. OK deraadt@
|
|
need to reserve space for them in the filesystem itself.
OK deraadt@ pedro@
|
|
Various testing for a while, okay krw@
|
|
Alexander Hall, with some guidance by me. ok deraadt@
|
|
MAXBSIZE. ok millert@
|
|
ok avsm@ millert@; man page ok jmc@
|
|
- Make the root of an mfs file system inherit the permission and
owner/group of the mountpoint. Work by david@.
- Add the ability to populate an mfs file system with the contents of a
directory or a file system immediately after creation, controlled
by the new -P mount option.
Discussed with and tested by many, ok djm@ david@
|
|
|
|
mostly from tom cosgrove.
|
|
|
|
as many as fit with the other parameters given.
change default frag size to 2048, bumping block size to 16k.
from freebsd.
ok deraadt@ and co.
|
|
|
|
|
|
|