| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: bin/3588
Suggested by: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
|
|
|
|
|
| |
PR: 3600
Submitted by: Josh Gilliam <soil@quick.net>
|
| |
|
|
|
|
|
|
| |
place rather than updating the main loop's index variables from within
a subroutine and other revolting things like that. Move some more
globals into local variables.
|
|
|
|
|
|
|
| |
program and it's use of global variables. Somehow, I managed to miss the
most obvious case.. "ifconfig ed0 10.0.0.1" failed (no "inet")
Submitted by: dfr
|
| |
|
|
|
|
|
|
|
| |
family inet if not specified. (eg: "ifconfig ed0" down would fail because
no family was specified, even though the up/down status is not per family)
Pointed out by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
|
|
|
|
|
|
|
| |
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.
PR: bin/850 dump treats write-protect as an EOT...
|
|
|
|
|
| |
PR: Closes PR docs/3488
Submitted by: k-horik@yk.rim.or.jp
|
|
|
|
| |
can be trivially disabled.
|
|
|
|
| |
Obtained from: Jason Thorpe via NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- parse command options using getopt for consistancy
- sanitise the command parsing so that it's less like spaghetti
- implement a "-l" option (idea from NetBSD - just list names)
- attempt to clean up the sysctl parsing loop some more. It still needs
to be taken out the back and shot though.
- cut down on global usage, but there's a lot more scope for this.
- make usage string a bit closer to reality (it was missing lots of things)
Unfortunately, I did this for the second time but with the memory of
the NetBSD version still recently in my mind. It's hard to redo simple
changes or getopt stuff without making it look like what you've been
working with a few hours ago.
|
| |
|
|
|
|
| |
media commands.
|
|
|
|
|
|
| |
a BIOS-like partition table. We now detect this correctly and print the
right thing.
Obtained from: Value obtained from OpenBSD sources.
|
|
|
|
|
|
|
| |
mount. It is possible to have v3 MOUNT but only v2 NFS, for instance for
a custom user-mode server like CFS.
Reviewed by: "Louis A. Mamakos" <louie@TransSys.COM>
|
|
|
|
|
|
| |
Instead, reverse the order of the testing, so if a symbolic name starts with
a digit, we'll see if we can make a network address out of it first. If
that fails, then we'll call getnet...
|
|
|
|
|
| |
PR: bin/3027
Submitted by: Louis Mamakos <louie@TransSys.COM>
|
| |
|
|
|
|
|
|
|
| |
options one would normally expect to set the realm, enable encryption,
and whatnot, but this actually is able to contact the remote server,
so at least it's a start. (As a bonus, the stripped static binary is
unquestionably exportable.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now by default mount the last data track (thus last session), as
opposed to the very first session it has been mounting previously.
This is consistent with the ISO9660 multi-session idea, and the way
other operating systems are working.
There's support to mount arbitrary sessions using the -s option. This
way, you can simulate multi-session CDs on something like vn devices
that don't support CDIO* ioctl commands. You can also force the
historic behaviour with
mount -t cd9660 -o -s=0 /dev/cd0a /cdrom
|
| |
|
|
|
|
| |
impossible to unmount a union which was mounted with a relative pathname.
|
| |
|
|
|
|
|
| |
connection, a large set of network exports could take many minutes to
time out, giving the appearance of a total hang during boot.
|
| |
|
|
|
|
| |
This is handy for testing and possibly to work around busted v3 clients.
|
|
|
|
|
|
| |
user to force v2 protocol even if the server supports v3.
Obtained from: NetBSD but with a slightly different implementation
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
nfs requests from non-privileged ports.
Change mountd such that it does never set this variable, but only clears
it when run with -n. Also document this in the man page.
|
|
|
|
| |
route add -net 192.168.64.0/20 bla bla bla
|
| |
|
|
|
|
| |
flag (which is now set by default).
|
|
|
|
|
|
| |
system is running in secure mode.
Obtained from: NetBSD PR# 3299
|
|
|
|
|
|
|
|
| |
a reserved port, so why not the nfs rpc's themselves?
With user allowed mounts, this perhaps needs a closer look, but
on the other hand, a user could already specify the flag.
If normal users should not be able to use resserved ports, the kernel
should check for the flag at mount time.
|
|
|
|
|
|
|
|
|
|
| |
(presumably because the kernel is old). Moved the declaration of a
variable realated to this sysctl outside of an unrelated ifdef.
Not fixed:
- this sysctl is badly named (nfs occurs twice).
- it's silly to have for FreeBSD in FreeBSD code, especially when
only half of the FreeBSD-dependent code is ifdefed.
|
| |
|
|
|
|
|
|
|
|
|
| |
in uu_lock(). Add uu_lockerr() for turning the results of
uu_lock into something printable. Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly where it should.
Suggested by: ache@freebsd.org
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
|
|
|
| |
I was not sure whether the fs_id fields should be printed in the clear
in case of sniffing over a network login etc. It might be an idea
to have somebody with spare time go through and find any other missing
fields that should be reported.
Definate 2.2.x/2.1.x candidate since it breaks the build.
|
|
|
|
|
|
| |
ports. This option will be automatically set/cleraed when mount is run
without/with the -n option.
Reviewed by: Doug Rabson
|
| |
|
|
|
|
| |
Submitted by: Philippe Charnier
|
| |
|