1*4882a593Smuzhiyunconfig BR2_PACKAGE_USBMOUNT 2*4882a593Smuzhiyun bool "usbmount" 3*4882a593Smuzhiyun depends on BR2_USE_MMU # lockfile-progs -> liblockfile 4*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_UDEV 5*4882a593Smuzhiyun select BR2_PACKAGE_LOCKFILE_PROGS 6*4882a593Smuzhiyun help 7*4882a593Smuzhiyun The usbmount package automatically mounts USB mass storage 8*4882a593Smuzhiyun devices when they are plugged in, and unmounts them when 9*4882a593Smuzhiyun they are removed. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun https://wiki.debian.org/usbmount 12*4882a593Smuzhiyun 13*4882a593Smuzhiyuncomment "usbmount requires udev to be enabled" 14*4882a593Smuzhiyun depends on BR2_USE_MMU 15*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_UDEV 16*4882a593Smuzhiyun 17*4882a593Smuzhiyunif BR2_PACKAGE_USBMOUNT 18*4882a593Smuzhiyun 19*4882a593Smuzhiyunconfig BR2_PACKAGE_USBMOUNT_SYNC_MOUNT 20*4882a593Smuzhiyun bool "mount with sync option" 21*4882a593Smuzhiyun default n 22*4882a593Smuzhiyun help 23*4882a593Smuzhiyun The "sync" option may not be a good choice to use with flash 24*4882a593Smuzhiyun drives, as it forces a greater amount of writing operating on 25*4882a593Smuzhiyun the drive. This makes the writing speed considerably lower 26*4882a593Smuzhiyun and also leads to a faster wear out of the disk. 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun If you omit it, don't forget to use the command "sync" to 29*4882a593Smuzhiyun synchronize the data on your disk before removing the drive 30*4882a593Smuzhiyun or you may experience data loss. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunendif 33