]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: remove some old history from manpages
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 29 Jun 2017 02:09:06 +0000 (04:09 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 29 Jun 2017 10:56:22 +0000 (12:56 +0200)
We assume that users will have a kernel >= 2.6.0 and removel
references to earlier kernels. There are still a few ones
left.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
disk-utils/mkfs.cramfs.8
disk-utils/mkfs.cramfs.c
include/pt-mbr-partnames.h
include/pt-mbr.h
sys-utils/eject.1
sys-utils/mount.8
sys-utils/readprofile.8
sys-utils/swapon.8
sys-utils/umount.8

index 9701e10754082c209be2c3d0e3e7290e8d1960c0..31cf84bf6f402410c2d3ebd1ecad2f4f45dc7daa 100644 (file)
@@ -62,7 +62,7 @@ This option is ignored.  Originally the \-s turned on directory entry
 sorting.
 .TP
 \fB\-z\fR
-Make explicit holes.  Use of this option will require 2.3.39 kernel, or newer.
+Make explicit holes.
 .TP
 \fB\-h\fR, \fB\-\-help\fR
 Display help text and exit.
index 9adc2899e47867945443a8fd3d481d51aad2a391..ec83f48daf5fdfc49dc9422fc4745de7926270f6 100644 (file)
@@ -133,12 +133,11 @@ static void __attribute__((__noreturn__)) usage(void)
                  " -b blksize use this blocksize, must equal page size\n"
                  " -e edition set edition number (part of fsid)\n"
                  " -N endian  set cramfs endianness (big|little|host), default host\n"
-                 " -i file    insert a file image into the filesystem "
-                   "(requires >= 2.4.0)\n"
+                 " -i file    insert a file image into the filesystem\n"
                  " -n name    set name of cramfs filesystem\n"
                  " -p         pad by %d bytes for boot code\n"
                  " -s         sort directory entries (old option, ignored)\n"
-                 " -z         make explicit holes (requires >= 2.3.39)\n"
+                 " -z         make explicit holes\n"
                  " dirname    root of the filesystem to be compressed\n"
                  " outfile    output file\n"),
                program_invocation_short_name, PAD_SIZE);
index 223fa4967337e772d20201d6f4c12a5e11f65e77..c9ab626b954c76be79dacacac9b5b902c51dc95e 100644 (file)
        {0xf2, N_("DOS secondary")},    /* DOS 3.3+ secondary */
        {0xfb, N_("VMware VMFS")},
        {0xfc, N_("VMware VMKCORE")},   /* VMware kernel dump partition */
-       {0xfd, N_("Linux raid autodetect")},/* New (2.2.x) raid partition with
+       {0xfd, N_("Linux raid autodetect")},/* Linux raid partition with
                                               autodetect using persistent
                                               superblock */
        {0xfe, N_("LANstep")},          /* SpeedStor >1024 cyl. or LANstep */
index 177cc747485ef102a4868187f8f18354b34d64c1..1f265ed06126959cf3369bfbf632df3c8d3c8536 100644 (file)
@@ -177,7 +177,7 @@ enum {
        MBR_DOS_SECONDARY_PARTITION     = 0xf2, /* DOS 3.3+ secondary */
        MBR_VMWARE_VMFS_PARTITION       = 0xfb,
        MBR_VMWARE_VMKCORE_PARTITION    = 0xfc, /* VMware kernel dump partition */
-       MBR_LINUX_RAID_PARTITION        = 0xfd, /* New (2.2.x) raid partition with autodetect using persistent superblock */
+       MBR_LINUX_RAID_PARTITION        = 0xfd, /* Linux raid partition with autodetect using persistent superblock */
        MBR_LANSTEP_PARTITION           = 0xfe, /* SpeedStor >1024 cyl. or LANstep */
        MBR_XENIX_BBT_PARTITION         = 0xff, /* Xenix Bad Block Table */
 };
index 13707a42fb7b17f1448273cf8353afccf695d792..f901b239d6e20ac46545ad4d9198a3ccfd435529 100644 (file)
@@ -37,9 +37,9 @@ enabled, the drive automatically ejects when the device is closed.
 .TP
 .BR \-c , " \-\-changerslot " \fIslot
 With this option a CD slot can be selected from an ATAPI/IDE CD-ROM changer.
-Linux 2.0 or higher is required to use this feature.  The CD-ROM drive cannot
-be in use (mounted data CD or playing a music CD) for a change request to work.
-Please also note that the first slot of the changer is referred to as 0, not 1.
+The CD-ROM drive cannot be in use (mounted data CD or playing a music CD) for
+a change request to work. Please also note that the first slot of the changer
+is referred to as 0, not 1.
 .TP
 .BR \-d , " \-\-default"
 List the default device name.
index 3bd278e6aa49f74f64d90169cc0f3c46a30e9f5d..25c9b4cdbe8afd44ac5323bf850f11af7538ee79 100644 (file)
@@ -307,8 +307,7 @@ option is similar, with the restriction that the user must be
 member of the group of the special file.
 
 .SS Bind mounts
-Since Linux 2.4.0 it is possible to remount part of the
-file hierarchy somewhere else.  The call is:
+Remount part of the file hierarchy somewhere else.  The call is:
 
 .RS
 .br
@@ -402,9 +401,9 @@ file.
 .RE
 
 .SS The move operation
-Since Linux 2.5.1 it is possible to atomically move a
+Move a
 .B mounted tree
-to another place.  The call is:
+to another place (atomically).  The call is:
 
 .RS
 .br
@@ -982,8 +981,6 @@ Permit execution of binaries.
 .TP
 .B noexec
 Do not permit direct execution of any binaries on the mounted filesystem.
-(Until recently it was possible to run binaries anyway using a command like
-/lib/ld*.so /mnt/binary.  This trick fails since Linux 2.4.25 / 2.6.0.)
 .TP
 .B group
 Allow an ordinary user to mount the filesystem if one
@@ -1555,7 +1552,7 @@ configuration.
 
 .SS "Mount options for ext2"
 The `ext2' filesystem is the standard Linux filesystem.
-Since Linux 2.5.46, for most mount options the default
+For most mount options the default
 is determined by the filesystem superblock.  Set them with
 .BR tune2fs (8).
 .TP
@@ -1652,17 +1649,9 @@ These options determine who can use the reserved blocks.
 Instead of block 1, use block
 .I n
 as superblock.  This could be useful when the filesystem has been damaged.
-(Earlier, copies of the superblock would be made every 8192 blocks: in
-block 1, 8193, 16385, \&...\& (and one got thousands of copies on
-a big filesystem).  Since version 1.08,
-.B mke2fs
-has a \-s (sparse superblock) option to reduce the number of backup
-superblocks, and since version 1.15 this is the default.  Note
-that this may mean that ext2 filesystems created by a recent
-.B mke2fs
-cannot be mounted r/w under Linux 2.0.*.)
-The block number here uses 1\ k units.  Thus, if you want to use logical
-block 32768 on a filesystem with 4\ k blocks, use "sb=131072".
+See
+.B dumpe2fs /dev/foo | grep superblock
+to list alternatively usable superblocks.
 .TP
 .BR user_xattr | nouser_xattr
 Support "user." extended attributes (or not).
@@ -1937,13 +1926,11 @@ The value is given in octal.
 Set the umask applied to directories only.
 The default is the umask of the current process.
 The value is given in octal.
-.\" Present since Linux 2.5.43.
 .TP
 .BI fmask= value
 Set the umask applied to regular files only.
 The default is the umask of the current process.
 The value is given in octal.
-.\" Present since Linux 2.5.43.
 .TP
 .BI allow_utime= value
 This option controls the permission check of mtime/atime.
@@ -1993,33 +1980,7 @@ Sets the codepage for converting to shortname characters on FAT
 and VFAT filesystems.  By default, codepage 437 is used.
 .TP
 .BI conv= mode
-The
-.I fat
-filesystem can perform CRLF<-->NL conversion (MS-DOS text format to UNIX text
-format) in the kernel.  The following conversion \fImode\fRs are available:
-.RS
-.TP
-.BR b [ inary ]
-No translation is performed.  This is the default.
-.TP
-.BR t [ ext ]
-CRLF<-->NL translation is performed on all files.
-.TP
-.BR a [ uto ]
-CRLF<-->NL translation is performed on all files that don't have a
-"well-known binary" extension.  The list of known extensions can be found at
-the beginning of
-.I fs/fat/misc.c
-(as of 2.0, the list is: exe, com, bin, app, sys, drv, ovl, ovr, obj,
-lib, dll, pif, arc, zip, lha, lzh, zoo, tar, z, arj, tz, taz, tzp, tpz,
-gz, tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi).
-.PP
-Programs that do computed lseeks won't like in-kernel text conversion.
-Several people have had their data ruined by this translation.  Beware!
-
-For filesystems mounted in binary mode, a conversion tool
-(fromdos/todos) is available.  This option is obsolete.
-.RE
+This option is obsolete and may fail or being ignored.
 .TP
 .BI cvf_format= module
 Forces the driver to use the CVF (Compressed Volume File) module
@@ -2190,18 +2151,8 @@ Convert all files names to lower case, or leave them.
 (Default:
 .BR case=lower .)
 .TP
-.BR conv= { binary | text | auto }
-For
-.BR conv=text ,
-delete some random CRs (in particular, all followed by NL)
-when reading a file.
-For
-.BR conv=auto ,
-choose more or less at random between
-.BR conv=binary " and " conv=text .
-For
-.BR conv=binary ,
-just read what is in the file.  This is the default.
+.BI conv= mode
+This option is obsolete and may fail or being ignored.
 .TP
 .B nocheck
 Do not abort mounting when certain consistency checks fail.
@@ -2267,8 +2218,7 @@ but also apply Acorn extensions if present.
 .BI mode= value
 For non-Rock Ridge volumes, give all files the indicated mode.
 (Default: read and execute permission for everybody.)
-Since Linux 2.1.37 one no longer needs to specify the mode in
-decimal. (Octal is indicated by a leading 0.)
+Octal mode values require a leading 0.
 .TP
 .B unhide
 Also show hidden and associated files.
@@ -2280,12 +2230,8 @@ Set the block size to the indicated value.
 (Default:
 .BR block=1024 .)
 .TP
-.BR conv= { a [ uto ]| b [ inary ]| m [ text ]| t [ ext ]}
-(Default:
-.BR conv=binary .)
-Since Linux 1.3.54 this option has no effect anymore.
-(And non-binary settings used to be very dangerous,
-possibly leading to silent data corruption.)
+.BI conv= mode
+This option is obsolete and may fail or being ignored.
 .TP
 .B cruft
 If the high byte of the file length contains other garbage,
@@ -2293,10 +2239,10 @@ set this mount option to ignore the high order bits of the file length.
 This implies that a file cannot be larger than 16\ MB.
 .TP
 .BI session= x
-Select number of session on multisession CD. (Since 2.3.4.)
+Select number of session on multisession CD.
 .TP
 .BI sbsector= xxx
-Session begins from sector xxx. (Since 2.3.4.)
+Session begins from sector xxx.
 .LP
 The following options are the same as for vfat and specifying them only makes
 sense when using discs encoded using Microsoft's Joliet extensions.
@@ -2389,12 +2335,10 @@ and the current version of
 Character set to use when returning file names.
 Unlike VFAT, NTFS suppresses names that contain
 nonconvertible characters.  Deprecated.
-.\" since 2.5.11
 .TP
 .BI nls= name
 New name for the option earlier called
 .IR iocharset .
-.\" since 2.5.11
 .TP
 .B utf8
 Use UTF-8 for converting file names.
@@ -2461,7 +2405,7 @@ These options are recognized, but have no effect as far as I can see.
 
 .SS "Mount options for ramfs"
 Ramfs is a memory based filesystem.  Mount it and you have it.  Unmount it
-and it is gone.  Present since Linux 2.3.99pre4.
+and it is gone.
 There are no mount options.
 
 .SS "Mount options for reiserfs"
index 60a7adabed3472eaf28d00676aff4f504227ca39..9686380e06f1ca558c552345de59fee205b310c4 100644 (file)
@@ -52,9 +52,9 @@ fly.
 On some architectures it is possible to alter the frequency at which
 the kernel delivers profiling interrupts to each CPU.  This option
 allows you to set the frequency, as a multiplier of the system clock
-frequency, HZ.  This is supported on i386-SMP (2.2 and 2.4 kernel)
-and also on sparc-SMP and sparc64-SMP (2.4 kernel).  This option also
-resets the profiling buffer, and requires superuser privileges.
+frequency, HZ. Linux 2.6.16 dropped multiplier support for most systems.
+This option also resets the profiling buffer, and requires superuser
+privileges.
 .TP
 \fB\-p\fR, \fB\-\-profile\fR \fIpro-file\fR
 Specify a different profiling buffer, which by default is
index 2a9a8268c568059127199896b163292868f9ad9b..3c66c818894942195c6db83b43eb16e794abc2a6 100644 (file)
@@ -152,7 +152,7 @@ When no priority is defined, it defaults to \-1.
 .TP
 .BR \-s , " \-\-summary"
 Display swap usage summary by device.  Equivalent to "cat /proc/swaps".
-Not available before Linux 2.1.25.  This output format is DEPRECATED in favour
+This output format is DEPRECATED in favour
 of \fB\-\-show\fR that provides better control on output data.
 .TP
 .BR \-\-show [ =\fIcolumn\fR ...]
index 80df50cc5eee4806658dd03de7cca9cb082823ba..1e27f01f8957b0f3f6ef0d52a745807de1331dab 100644 (file)
@@ -105,8 +105,7 @@ that were unmounted earlier with the
 option.
 .TP
 .BR \-f , " \-\-force"
-Force an unmount (in case of an unreachable NFS system).  (Requires kernel
-2.1.116 or later.)
+Force an unmount (in case of an unreachable NFS system).
 
 Note that this option does not guarantee that umount command does not hang.
 It's strongly recommended to use absolute paths without symlinks to avoid
@@ -119,7 +118,7 @@ By default such a helper program is called if it exists.
 .BR \-l , " \-\-lazy"
 Lazy unmount.  Detach the filesystem from the file hierarchy now,
 and clean up all references to this filesystem as soon as it is not busy
-anymore.  (Requires kernel 2.4.11 or later.)
+anymore.
 .TP
 .BR \-n , " \-\-no\-mtab"
 Unmount without writing in