| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class is used for detecting volume labels on file systems:
UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660.
It also provide native labelization (there is no need for file system).
g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow.
g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found
where volume labels are stored and I use those offsets here,
but with this class it should be easy to do it as it should be done by
someone who know how.
Implementing volume labels detection for other file systems also should
be trivial.
New providers are created in those directories:
/dev/ufs/ (UFS1, UFS2)
/dev/msdosfs/ (FAT12, FAT16, FAT32)
/dev/iso9660/ (ISO9660)
/dev/label/ (native labels, configured with glabel(8))
Manual page cleanups and some comments inside were submitted by
Simon L. Nielsen, who was, as always, very helpful. Thanks!
|
| |
|
| |
|
| |
|
|
|
|
| |
in over the socket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
manpage:
The comparison function must return an integer less than, equal to, or
greater than zero if the first argument is considered to be respectively
less than, equal to, or greater than the second.
Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works
but for the number of items to be sorted less than 7 due to special case
handling in qsort(3);
o add missing '\n' to one of usage() calls.
Approved by: phk
|
|
|
|
|
| |
Noticed by: Joshua Goodall <joshua@roughtrade.net>
Approved by: ru
|
| |
|
|
|
|
|
|
|
| |
normal status messages. Previously a large number of these new
messages could be spewed out towards the end of a dump.
Reviewed by: imp
|
| |
|
|
|
|
|
|
| |
style(9).
Reminded by: bde
|
|
|
|
|
| |
virtual console set-up. Specifically, "conscontrol unset" will cause
printf(9) output to start going to the console again.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- g_lcm() - calculates Least Common Multiple of two given values,
it is helpful when we need to find sector size for provider
which is based on disks with different sector size;
- g_get_mediasize() - returns media size of given provider;
- g_get_sectorsize() - returns sector size of given provider;
Those function aren't used now, but are used by geom_mirror which will be
committed soon.
|
|
|
|
|
|
|
| |
in all cases. The failure mode in the PR is easily reproducible without
this patch.
PR: bin/43139
|
|
|
|
|
|
|
|
|
| |
routed should be able to specify multicast memberships to be added by
interface index. This should fix the unnumbered / point-to-point case
for RIPv2.
PR: bin/51927
Requested by: Eugene Grosbein
|
|
|
|
| |
Reminded by: des
|
|
|
|
|
|
|
|
| |
modification of a patch which was already applied for BSD/OS in the
Rhyolite.com sources; this file is already off the vendor branch.
PR: bin/57484
Submitted by: Richard Perini
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
| |
PR: docs/66541
Submitted by: Michel Lavondes (with some cleanups/additions)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Since the algorithms are already supported in libmd,
the size increase is small when a dynamic root is used.
Approved by: joerg, ru
MFC after: 2 weeks
|
|
|
|
| |
them... Otherwise the result will be truncated anyway.
|
| |
|
|
|
|
|
|
|
| |
for handling large sparse address sets. Initial implementation by
Vsevolod Lobko <seva@ip.net.ua>, refined by me.
MFC after: 1 week
|
|
|
|
| |
This manpage needs an English clenup.
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
| |
Inspired by: fjoe
|
|
|
|
|
|
|
|
|
|
|
| |
o Add sanity checking to the firewall delete operation
which tells the user that a firewall rule
specification is required.
The previous behaviour was to exit without reporting any
errors to the user.
Approved by: bmilekic (mentor)
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
. Implement option -c, all partition sizes will be calculated
in cylinders as opposed to sectors. Since the Sun label is
inherently cylinder-based, this makes the job a little easier.
. Implement option -h, print the label in `human readable'
size/offset format.
. Implement SVR4-compatible VTOC-style elements. They are
fully optional, defaulting to the current behaviour where no
VTOC-style table will be written to disk. However, if
desired, the full functionality of the partitioning menu of
Solaris' format(1m) is now offered (and even more).
. When editing the label, do not loop around edit_label() where
a new template file is generated for each turn, this used to
be annoying in that any possible syntax error caused a
complaint, but then the template was created anew, so the
user had to perform all their editing again. Rather loop
inside edit_label(), similar to bsdlabel(8), so in case of
errors, the user will be presented their previous template
file again.
. If VTOC-style elements are present, the overlap checks are
made less stringent. Overlaps will still be warned about,
but overlaps of `unmountable' partitions against other ones
are no longer fatal. That way, e. g. VxVM encapsulated
disk labels can be fully edited in FreeBSD (but not in
Solaris ;-).
. In print_label(), generate the editing hints only if the -e
flag is in effect. Additionally, print a hint about the
total number of sectors in the (hardware) medium.
. When editing a label, allow for changing the geometry
emulation (and textual name) by modifying the "text:" line
on top. That way, a more effective emulation can be
chosen.
. When editing/reading a label, additionally allow for the
suffixes `s' (512-byte sectors), and `c' (cylinders) in the
partition size field.
. Finally, turn the stub man page into something that really
explains the entire thing.
|
| |
|
| |
|
|
|
|
| |
sizeof(void *) rather than if __alpha__ is defined.
|
| |
|
| |
|
| |
|
|
|
|
| |
- Add missing 'a'.
|
|
|
|
| |
Supported by: Wheel - Open Technologies - http://www.wheel.pl
|
|
|
|
|
|
|
| |
rst_closedir() which are called by glob().
Reviewed by: md5
Approved by: das (mentor)
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
|
| |
PR: docs/67065
Submitted by: David Syphers
|
|
|
|
| |
Submitted by: edwin
|
| |
|
| |
|
| |
|