Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
from Thorsten Glaser
|
|
- mount point may be specified with trailing slash in all cases
(including fstab).
- mount doesn't look in fstab at "-o update". So update doesn't fails
for fs which isn't listed in fstab.
- 'mount -o update' only changes options which supplied via command line
and preserves options which currently in use.
- fix argv[] buffer overflow in mountfs/mangle.
- correct usage.
- Other improvements and fixes which I can't remember.
Thanks to everyone who test this patch.
miod@ ok.
|
|
|
|
|
|
outside the tree)
|
|
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
|
|
|
found.
ok millert@
|
|
|
|
|
|
fstatfs(2), and getfsstat(2) so you will need to build a new kernel
before doing a "make build" or you will get "unimplemented syscall" errors.
The new struct statfs has the following featuires:
o Has a u_int32_t flags field--now softdep can have a real flag.
o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man
page used to lie about setting invalid/unused fields to -1. SunOS does
that but our code never has.
o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9
and having it there but always 0 is confusing. It is conceivable
that this may cause some old code to not compile but that is better
than silently breaking.
o Adds a mount_info union that contains the FSTYPE_args struct. This
means that "mount" can now tell you all the options a filesystem was
mounted with. This is especially nice for NFS.
Other changes:
o The linux statfs emulation didn't convert between BSD fs names
and linux f_type numbers. Now it does, since the BSD f_type
number is useless to linux apps (and has been removed anyway)
o FreeBSD's struct statfs is different from our (both old and new)
and thus needs conversion. Previously, the OpenBSD syscalls
were used without any real translation.
o mount(8) will now show extra info when invoked with no arguments.
However, to see *everything* you need to use the -v (verbose) flag.
|
|
|
|
|
|
|
|
|
|
|
|
ctime or mtime has changed). Useful for laptops and news servers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Recognize all mount flags exported from the kernel (but only print the
ones that we used to print). Note unrecognized flags(s) when printing
mount list.
|
|
|