diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 53 |
1 files changed, 29 insertions, 24 deletions
diff --git a/include/usage.h b/include/usage.h index e945840b8..25a716278 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2796,45 +2796,50 @@ | |||
2796 | "$ dmesg | more\n" | 2796 | "$ dmesg | more\n" |
2797 | 2797 | ||
2798 | #define mount_trivial_usage \ | 2798 | #define mount_trivial_usage \ |
2799 | "[flags] DEVICE NODE [-o options,more-options]" | 2799 | "[flags] DEVICE NODE [-o OPT,OPT]" |
2800 | #define mount_full_usage "\n\n" \ | 2800 | #define mount_full_usage "\n\n" \ |
2801 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted.\n" \ | 2801 | "Mount a filesystem. Filesystem autodetection requires /proc be mounted.\n" \ |
2802 | "\nOptions:" \ | 2802 | "\nOptions:" \ |
2803 | "\n -a Mount all filesystems in fstab" \ | 2803 | "\n -a Mount all filesystems in fstab" \ |
2804 | USE_FEATURE_MOUNT_FAKE( \ | 2804 | USE_FEATURE_MOUNT_FAKE( \ |
2805 | "\n -f "USE_FEATURE_MTAB_SUPPORT("Update /etc/mtab, but ")"don't mount" \ | 2805 | USE_FEATURE_MTAB_SUPPORT( \ |
2806 | "\n -f Update /etc/mtab, but don't mount" \ | ||
2807 | ) \ | ||
2808 | SKIP_FEATURE_MTAB_SUPPORT( \ | ||
2809 | "\n -f Dry run" \ | ||
2810 | ) \ | ||
2806 | ) \ | 2811 | ) \ |
2807 | USE_FEATURE_MTAB_SUPPORT( \ | 2812 | USE_FEATURE_MTAB_SUPPORT( \ |
2808 | "\n -n Don't update /etc/mtab" \ | 2813 | "\n -n Don't update /etc/mtab" \ |
2809 | ) \ | 2814 | ) \ |
2810 | "\n -r Read-only mount" \ | 2815 | "\n -r Read-only mount" \ |
2811 | "\n -t fs-type Filesystem type" \ | ||
2812 | "\n -w Read-write mount (default)" \ | 2816 | "\n -w Read-write mount (default)" \ |
2813 | "\n" \ | 2817 | "\n -t FSTYPE Filesystem type" \ |
2814 | "-o option:\n" \ | 2818 | "\n -O OPT Mount only filesystems with option OPT (-a only)" \ |
2819 | "\n-o OPT:" \ | ||
2815 | USE_FEATURE_MOUNT_LOOP( \ | 2820 | USE_FEATURE_MOUNT_LOOP( \ |
2816 | " loop Ignored (loop devices are autodetected)\n" \ | 2821 | "\n loop Ignored (loop devices are autodetected)" \ |
2817 | ) \ | 2822 | ) \ |
2818 | USE_FEATURE_MOUNT_FLAGS( \ | 2823 | USE_FEATURE_MOUNT_FLAGS( \ |
2819 | " [a]sync Writes are asynchronous / synchronous\n" \ | 2824 | "\n [a]sync Writes are [a]synchronous" \ |
2820 | " [no]atime Disable / enable updates to inode access times\n" \ | 2825 | "\n [no]atime Disable/enable updates to inode access times" \ |
2821 | " [no]diratime Disable / enable atime updates to directories\n" \ | 2826 | "\n [no]diratime Disable/enable atime updates to directories" \ |
2822 | " [no]relatime Disable / enable atime updates relative to modification time\n" \ | 2827 | "\n [no]relatime Disable/enable atime updates relative to modification time" \ |
2823 | " [no]dev Allow use of special device files / disallow them\n" \ | 2828 | "\n [no]dev (Dis)allow use of special device files" \ |
2824 | " [no]exec Allow use of executable files / disallow them\n" \ | 2829 | "\n [no]exec (Dis)allow use of executable files" \ |
2825 | " [no]suid Allow set-user-id-root programs / disallow them\n" \ | 2830 | "\n [no]suid (Dis)allow set-user-id-root programs" \ |
2826 | " [r]shared Convert [recursively] to a shared subtree\n" \ | 2831 | "\n [r]shared Convert [recursively] to a shared subtree" \ |
2827 | " [r]slave Convert [recursively] to a slave subtree\n" \ | 2832 | "\n [r]slave Convert [recursively] to a slave subtree" \ |
2828 | " [r]private Convert [recursively] to a private subtree\n" \ | 2833 | "\n [r]private Convert [recursively] to a private subtree" \ |
2829 | " [un]bindable Make mount point [un]able to be bind mounted\n" \ | 2834 | "\n [un]bindable Make mount point [un]able to be bind mounted" \ |
2830 | " bind Bind a directory to an additional location\n" \ | 2835 | "\n bind Bind a directory to an additional location" \ |
2831 | " move Relocate an existing mount point\n" \ | 2836 | "\n move Relocate an existing mount point" \ |
2832 | ) \ | 2837 | ) \ |
2833 | " remount Remount a mounted filesystem, changing its flags\n" \ | 2838 | "\n remount Remount a mounted filesystem, changing its flags" \ |
2834 | " ro/rw Mount for read-only / read-write\n" \ | 2839 | "\n ro/rw Read-only/read-write mount" \ |
2835 | "\n" \ | 2840 | "\n" \ |
2836 | "There are EVEN MORE flags that are specific to each filesystem\n" \ | 2841 | "\nThere are EVEN MORE flags that are specific to each filesystem" \ |
2837 | "You'll have to see the written documentation for those filesystems" \ | 2842 | "\nYou'll have to see the written documentation for those filesystems" \ |
2838 | 2843 | ||
2839 | #define mount_example_usage \ | 2844 | #define mount_example_usage \ |
2840 | "$ mount\n" \ | 2845 | "$ mount\n" \ |