Montage des supports fat en umask=0000
This commit is contained in:
parent
e39aa913f8
commit
2df557627e
1 changed files with 8 additions and 1 deletions
|
|
@ -195,7 +195,14 @@ check_dev ()
|
||||||
then
|
then
|
||||||
devuid=$(blkid -o value -s UUID "$devname")
|
devuid=$(blkid -o value -s UUID "$devname")
|
||||||
[ -n "$devuid" ] && grep -qs "\<$devuid\>" /var/lib/live/boot/devices-already-tried-to-mount && continue
|
[ -n "$devuid" ] && grep -qs "\<$devuid\>" /var/lib/live/boot/devices-already-tried-to-mount && continue
|
||||||
|
case "${fstype}" in
|
||||||
|
vfat)
|
||||||
|
mount -t ${fstype} -o ro,noatime,umask=0000 "${devname}" ${mountpoint} || continue
|
||||||
|
;;
|
||||||
|
*)
|
||||||
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
|
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
|
||||||
|
;;
|
||||||
|
esac
|
||||||
[ -n "$devuid" ] && echo "$devuid" >> /var/lib/live/boot/devices-already-tried-to-mount
|
[ -n "$devuid" ] && echo "$devuid" >> /var/lib/live/boot/devices-already-tried-to-mount
|
||||||
|
|
||||||
if [ -n "${FINDISO}" ]
|
if [ -n "${FINDISO}" ]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue