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