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
docs:guide-user:storage:usb-drives-quickstart [2020/08/07 17:40] – [Procedure] automount info vgaeteradocs:guide-user:storage:usb-drives-quickstart [2020/09/23 22:11] – corrected typo in a command jhench
Line 43: Line 43:
 <code>uci set fstab.@mount[0].enabled='1' && uci set fstab.@global[0].anon_mount='1' && uci commit fstab</code> <code>uci set fstab.@mount[0].enabled='1' && uci set fstab.@global[0].anon_mount='1' && uci commit fstab</code>
  
-9. Mount the device. Automount is enabled on boot.+9. Mount the device. ++More...|Automount is enabled on boot.++
 <code>/etc/init.d/fstab boot</code> <code>/etc/init.d/fstab boot</code>
  
Line 59: Line 59:
   * Look at the [[docs/guide-user/storage/fstab|fstab documentation]] to configure from the command line   * Look at the [[docs/guide-user/storage/fstab|fstab documentation]] to configure from the command line
   * This Forum article also has a lot of background information: [[https://forum.openwrt.org/t/more-on-usb-drive-installation/30695/2]]   * This Forum article also has a lot of background information: [[https://forum.openwrt.org/t/more-on-usb-drive-installation/30695/2]]
-  * If you just want to temporarily mount the drive (say, for testing), you can simply enter: '' mkfs /tmp/MyDrive; mount /dev/sda1 /tmp/MyDrive'' Note that, as of OpenWRT v18, the Ext4 file system will be autodetected. After finishing the test reading/writing the drive: '' umount /tmp/MyDrive'' +  * If you just want to temporarily mount the drive (say, for testing), you can simply enter: '' mkdir /tmp/MyDrive; mount /dev/sda1 /tmp/MyDrive'' Note that, as of OpenWRT v18, the Ext4 file system will be autodetected. After finishing the test reading/writing the drive: '' umount /tmp/MyDrive'' 
  
  • Last modified: 2024/11/21 18:29
  • by palebloodsky