diff --git a/scripts/95-usb.rules b/scripts/95-usb.rules new file mode 100644 index 0000000..be89c6d --- /dev/null +++ b/scripts/95-usb.rules @@ -0,0 +1 @@ +SUBSYSTEM=="block", SUBSYSTEMS=="usb", SYMLINK+="usbstorage" diff --git a/scripts/auto.master b/scripts/auto.master new file mode 100644 index 0000000..5e5beea --- /dev/null +++ b/scripts/auto.master @@ -0,0 +1,30 @@ +# +# Sample auto.master file +# This is a 'master' automounter map and it has the following format: +# mount-point [map-type[,format]:]map [options] +# For details of the format look at auto.master(5). +# +#/misc /etc/auto.misc +# +# NOTE: mounts done from a hosts map will be mounted with the +# "nosuid" and "nodev" options unless the "suid" and "dev" +# options are explicitly given. +# +#/net -hosts +# +# Include /etc/auto.master.d/*.autofs +# The included files must conform to the format of this file. +# ++dir:/etc/auto.master.d +# +# Include central master map if it can be found using +# nsswitch sources. +# +# Note that if there are entries for /net or /misc (as +# above) in the included master map any keys that are the +# same will not be seen as the first read key seen takes +# precedence. +# +#+auto.master + +/mnt /etc/auto.usb --timeout=60 --ghost diff --git a/scripts/auto.usb b/scripts/auto.usb new file mode 100644 index 0000000..e4007fb --- /dev/null +++ b/scripts/auto.usb @@ -0,0 +1 @@ +usb -fstype=auto,async,nodev,nosuid,umask=000 :/dev/usbstorage