Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
zh-cn:doc:howto:storage [2018/02/18 16:50] – link to extroot page updated after wiki merge tmomaszh-cn:doc:howto:storage [2018/02/25 15:05] – ↷ Links adapted because of a move operation
Line 1: Line 1:
 ====== 分区、格式化及安装存储设备 ====== ====== 分区、格式化及安装存储设备 ======
-请参见[[doc/techref/flash.layout]]。+请参见[[docs:techref:flash.layout]]。
  
  
Line 115: Line 115:
 ===== Automatic Mount on Boot ===== ===== Automatic Mount on Boot =====
  
-:!: see [[doc:techref:block_mount]]+:!: see [[docs:techref:block_mount]]
  
-It is convenient to be able to mount your file systems on boot. The package ''block-mount'' will take care of this and also enable automatic mount when device is plugged in through use of [[doc/techref/ubox|ubox]]. As is typical in Linux, this is handled with [[docs:user-guide:storage:fstab|Fstab Configuration]]. OpenWrt provides [[inbox:uci|UCI]] configuration of Fstab. The configuration file is ''[[docs:user-guide:storage:fstab|/etc/config/fstab]]''.+It is convenient to be able to mount your file systems on boot. The package ''block-mount'' will take care of this and also enable automatic mount when device is plugged in through use of [[docs:techref:ubox|ubox]]. As is typical in Linux, this is handled with [[docs:user-guide:storage:fstab|Fstab Configuration]]. OpenWrt provides [[docs:user-guide:base-system:uci|UCI]] configuration of Fstab. The configuration file is ''[[docs:user-guide:storage:fstab|/etc/config/fstab]]''.
  
-For a technical background in which Fstab works, see [[doc/techref/block_mount]]. Note the information box below mentioning the new block-mount packages which works in conjunction with ubox.+For a technical background in which Fstab works, see [[docs:techref:block_mount]]. Note the information box below mentioning the new block-mount packages which works in conjunction with ubox.
  
 Example settings in ''fstab'' for mounting to ''/mnt/share'' with automatic detection of the file system: Example settings in ''fstab'' for mounting to ''/mnt/share'' with automatic detection of the file system:
Line 160: Line 160:
  
 | {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | In [[https://dev.openwrt.org/changeset/26314/trunk|r26314]] the three opkg packages ''block-mount'', ''block-extroot'' and ''block-hotplug'' have been merged into **''block-mount''**. | | {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | In [[https://dev.openwrt.org/changeset/26314/trunk|r26314]] the three opkg packages ''block-mount'', ''block-extroot'' and ''block-hotplug'' have been merged into **''block-mount''**. |
-| {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | In [[https://dev.openwrt.org/changeset/36988|r36988]] **''[[doc/techref/ubox]]''** is a dependency of the opkg package ''block-mount''. block-mount now contains the executable ''block''. ''block <info|mount|umount|detect>'' |+| {{:meta:icons:tango:48px-outdated.svg.png?nolink}} | In [[https://dev.openwrt.org/changeset/36988|r36988]] **''[[docs:techref:ubox]]''** is a dependency of the opkg package ''block-mount''. block-mount now contains the executable ''block''. ''block <info|mount|umount|detect>'' |
 | {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | **[[https://lists.openwrt.org/pipermail/openwrt-devel/2013-July/020591.html|2013-07-04: new block mount howto]]**  | | {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | **[[https://lists.openwrt.org/pipermail/openwrt-devel/2013-July/020591.html|2013-07-04: new block mount howto]]**  |
  
Line 208: Line 208:
  
  
-Usually the devices that you use are [[wp>Device_file#Block_devices|block devices]]. In OpenWrt, extra utilities for block devices such as automatic mounting are provided with a collection of tools for [[doc/techref/block_mount|block devices]], see also below. +Usually the devices that you use are [[wp>Device_file#Block_devices|block devices]]. In OpenWrt, extra utilities for block devices such as automatic mounting are provided with a collection of tools for [[docs:techref:block_mount|block devices]], see also below. 
  
  
Line 215: Line 215:
   * Use [[extroot]]. This will allow you to use your device as a root, by using it in an overlay configuration over the original root.    * Use [[extroot]]. This will allow you to use your device as a root, by using it in an overlay configuration over the original root. 
  
-  * Once you successfully mounted your partition, you may want to install packages onto it. Please see [[doc:techref:opkg#Installation.Destination]] for that.+  * Once you successfully mounted your partition, you may want to install packages onto it. Please see [[docs:user-guide:additional-software:opkg#Installation.Destination]] for that.
  
   * :!: Do not install kernel modules on USB, see [[https://dev.openwrt.org/ticket/10739]]   * :!: Do not install kernel modules on USB, see [[https://dev.openwrt.org/ticket/10739]]
Line 305: Line 305:
  
 If you want to install packages into this virtual disk, see: If you want to install packages into this virtual disk, see:
-[[doc:techref:opkg#installation_destinations|opkg installation destinations]]+[[docs:user-guide:additional-software:opkg#installation_destinations|opkg installation destinations]]
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
  • Last modified: 2018/03/03 20:56
  • by bobafetthotmail