X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fmisc%2Fudev%2F11-sd-card-automount.rules;h=9112993144456b46e383309341524a12466ef756;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=de62336eebebec8c29f7623523553aff03e40de2;hpb=266e56674b0c0d51bf44db78f1cb23374031b00f;p=hvlinux.git diff --git a/stage2/misc/udev/11-sd-card-automount.rules b/stage2/misc/udev/11-sd-card-automount.rules index de62336..9112993 100644 --- a/stage2/misc/udev/11-sd-card-automount.rules +++ b/stage2/misc/udev/11-sd-card-automount.rules @@ -16,7 +16,7 @@ ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'" ACTION=="add", ENV{mount_options}="relatime" # Filesystem specific options ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N" -ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002" +ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=98,umask=002" # automount all other filesystems ACTION=="add", ENV{ID_FS_TYPE}!="ntfs", RUN+="/bin/mount -t auto -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"