FreeBSD Bugzilla – Attachment 17395 Details for
Bug 31588
change request to allow mount(8) to set the MNT_IGNORE flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.45 KB, created by
guy
on 2001-10-29 13:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
guy
Created:
2001-10-29 13:40:01 UTC
Size:
1.45 KB
patch
obsolete
>--- mount/mount.c.orig Mon Oct 1 16:08:49 2001 >+++ mount/mount.c Mon Oct 29 15:06:12 2001 >@@ -107,6 +107,7 @@ > { MNT_NOCLUSTERW, "noclusterw" }, > { MNT_SUIDDIR, "suiddir" }, > { MNT_SOFTDEP, "soft-updates" }, >+ { MNT_IGNORE, "ignore" }, > { 0, NULL } > }; > >--- mount/mntopts.h.orig Sat Oct 9 13:54:07 1999 >+++ mount/mntopts.h Mon Oct 29 15:06:54 2001 >@@ -56,6 +56,7 @@ > #define MOPT_NOCLUSTERR { "clusterr", 1, MNT_NOCLUSTERR, 0 } > #define MOPT_NOCLUSTERW { "clusterw", 1, MNT_NOCLUSTERW, 0 } > #define MOPT_SUIDDIR { "suiddir", 0, MNT_SUIDDIR, 0 } >+#define MOPT_IGNORE { "ignore", 0, MNT_IGNORE, 0 } > > /* Control flags. */ > #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 } >@@ -85,7 +86,8 @@ > MOPT_RDONLY, \ > MOPT_UNION, \ > MOPT_NOCLUSTERR, \ >- MOPT_NOCLUSTERW >+ MOPT_NOCLUSTERW, \ >+ MOPT_IGNORE > > void getmntopts __P((const char *, const struct mntopt *, int *, int *)); > void rmslashes __P((char *, char *)); >--- mount/mount.8.orig Mon Oct 1 16:08:49 2001 >+++ mount/mount.8 Mon Oct 29 15:15:53 2001 >@@ -135,6 +135,14 @@ > flag, this is the same as specifying all the options listed in the > .Xr fstab 5 > file for the filesystem. >+.It Cm ignore >+This sets the MNT_IGNORE flag, which stops >+.Xr df 1 >+from displaying information on the filesystem unless >+.Xr df 1 >+is called with the >+.Fl a >+option. > .It Cm noasync > Metadata I/O should be done synchronously, while data I/O should be done > asynchronously.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31588
: 17395