summaryrefslogtreecommitdiff
path: root/sbin/mount/mount.c
AgeCommit message (Collapse)Author
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
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.
1998-02-01add softdep displaying in mount listingMichael Shalayeff
1997-06-18WallTheo de Raadt
1997-05-28complain if ufs is spotted in /etc/fstabTheo de Raadt
1997-03-10Allow noaccesstime as a synonym for noatime.Todd C. Miller
1997-03-09noatime changed to noaccesstime for consistency with BSD/OS.Todd C. Miller
1997-03-02Add noatime option to not update atime on files in a filesystem (unlessTodd C. Miller
ctime or mtime has changed). Useful for laptops and news servers.
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-231 -> 0Jason Downs
1996-12-23readlabelfs()Jason Downs
1996-12-09for -a option, refuse if disklabel type != fstab typeTheo de Raadt
1996-12-04fixJason Downs
1996-12-04nice argv[0], please do not bite meTheo de Raadt
1996-12-03readlabelfs() moves to libutil, and return value changes.Jason Downs
1996-11-12fixJason Downs
1996-11-12Prelimary label-groking code for mount; makes -t close to obsolete.Jason Downs
1996-06-23update rcsidTheo de Raadt
1996-06-21argv[0] for children is mount_XXX instead of simply XXXTheo de Raadt
1995-12-14from netbsd:Theo de Raadt
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.
1995-10-18initial import of NetBSD treeTheo de Raadt