]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: Fix dead references to kernel documentation
authorYannick Le Pennec <yannick.lepennec@live.fr>
Sun, 17 May 2020 15:13:22 +0000 (23:13 +0800)
committerKarel Zak <kzak@redhat.com>
Mon, 18 May 2020 08:35:31 +0000 (10:35 +0200)
Most date back to reorganisation of the Documentation/ tree in 2016,
new paths based on v5.7-rc5:

fdisk.8:   Documentation/{,admin-guide/}devices.txt
eject.c:   Documentation/{,userspace-api/}ioctl/cdrom.rst
mount.8:   Documentation/filesystems/adfs.{txt,rst}
rfkill.8:  Documentation/{rfkill.txt,driver-api/rfkill.rst}
tunelp.8:  Documentation/{parport.txt,admin-guide/parport.rst}
zramctl.8: Documentation/{blockdev/zram.txt,admin-guide/blockdev/zram.rst}

Signed-off-by: Yannick Le Pennec <yannick.lepennec@live.fr>
disk-utils/fdisk.8
sys-utils/eject.c
sys-utils/mount.8
sys-utils/rfkill.8
sys-utils/tunelp.8
sys-utils/zramctl.8

index 6a92ba5dbf3f9cef743d7393a0c2ec09c5b2521c..07b17073e6994a06843ebbf0953aa85759e7ceb6 100644 (file)
@@ -168,7 +168,7 @@ The
 .I partition
 is a device name followed by a partition number.  For example, /dev/sda1 is the
 first partition on the first hard disk in the system.  See also Linux kernel
-documentation (the Documentation/devices.txt file).
+documentation (the Documentation/admin-guide/devices.txt file).
 
 .SH SIZES
 The "last sector" dialog accepts partition size specified by number of sectors
index 11874769774a044095f76a3f49f558f1ca48e54f..fa85243b0f3af2d12dd9f6c769df9c0a9a2cf506 100644 (file)
@@ -329,7 +329,7 @@ static void auto_eject(const struct eject_control *ctl)
  * Stops CDROM from opening on manual eject button press.
  * This can be useful when you carry your laptop
  * in your bag while it's on and no CD inserted in it's drive.
- * Implemented as found in Documentation/ioctl/cdrom.txt
+ * Implemented as found in Documentation/userspace-api/ioctl/cdrom.rst
  */
 static void manual_eject(const struct eject_control *ctl)
 {
index 05117c7271df22c81484f3bb6727da05700a45be..271c1e2b47bac1993effe5c00eb343603203a930 100644 (file)
@@ -1347,7 +1347,7 @@ Set the owner and group of the files in the filesystem (default: uid=gid=0).
 Set the permission mask for ADFS 'owner' permissions and 'other' permissions,
 respectively (default: 0700 and 0077, respectively).
 See also
-.IR /usr/src/linux/Documentation/filesystems/adfs.txt .
+.IR /usr/src/linux/Documentation/filesystems/adfs.rst .
 
 .SS "Mount options for affs"
 .TP
index 9eff913b8adba8730b4776661a66f8f1c2b22f74..eb640954f2dc8f768af41fada9318096d6f9f7c3 100644 (file)
@@ -110,7 +110,7 @@ for the Debian project (and may be used by others).
 .SH "SEE ALSO"
 .BR powertop (8),
 .BR systemd-rfkill (8),
-.UR https://\:git.\:kernel.\:org/\:pub/\:scm/\:linux/\:kernel/\:git/\:torvalds/\:linux.git/\:tree/\:Documentation/\:rfkill.txt
+.UR https://\:git.\:kernel.\:org/\:pub/\:scm/\:linux/\:kernel/\:git/\:torvalds/\:linux.git/\:tree/\:Documentation/\:driver-api/\:rfkill.rst
 Linux kernel documentation
 .UE
 .SH AVAILABILITY
index 5c927458f8adce08105e0e73e6ec3da0c2128d1d..7716ba7e172a6219e601e7d22da13fca632c803e 100644 (file)
@@ -34,7 +34,7 @@ irq is handled by the parport driver.  You can change the parport irq for
 example via
 .IR /proc/parport/*/irq .
 Read
-.I /usr/src/linux/Documentation/parport.txt
+.I /usr/src/linux/Documentation/admin-guide/parport.rst
 for more details on parport.
 .TP
 \fB\-t\fR, \fB\-\-time\fR \fImilliseconds\fR
index c6ecdc3d5aad255da7e37997f1086e3902960cb4..12983f144376d42638766787a5fa58e9d52f7820 100644 (file)
@@ -118,7 +118,7 @@ and use it as swap device.
 # zramctl --reset /dev/zram0
 .fi
 .SH SEE ALSO
-.UR http://git.\:kernel.\:org\:/cgit\:/linux\:/kernel\:/git\:/torvalds\:/linux.git\:/tree\:/Documentation\:/blockdev\:/zram.txt
+.UR http://git.\:kernel.\:org\:/cgit\:/linux\:/kernel\:/git\:/torvalds\:/linux.git\:/tree\:/Documentation\:/admin-guide\:/blockdev\:/zram.rst
 Linux kernel documentation
 .UE .
 .SH AUTHORS