Univention Bugzilla – Attachment 6379 Details for
Bug 36716
Remotely mounted USB drives are not cleaned up properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch - workaround for customer
add_fstab_entry_svn_diff (text/plain), 826 bytes, created by
Michael Grandjean
on 2014-11-14 17:09:31 CET
(
hide
)
Description:
Patch - workaround for customer
Filename:
MIME Type:
Creator:
Michael Grandjean
Created:
2014-11-14 17:09:31 CET
Size:
826 bytes
patch
obsolete
>Index: add_fstab_entry >=================================================================== >--- add_fstab_entry (Revision 55766) >+++ add_fstab_entry (Arbeitskopie) >@@ -30,7 +30,7 @@ > # Debug > echo "univention-ucc-remote-mount: add_fstab_entry called: options: '$1' '$2' '$3'"|logger > >-# ignoe ram* and loop* devices bug #30468 >+# ignore ram* and loop* devices bug #30468 > blacklist="ram loop" > for i in $blacklist; do > if [ -n "$1" ] && [[ "$1" == $i* ]]; then >@@ -38,6 +38,15 @@ > fi > done > >+# ignore sdX - exact match >+blacklist="sda sdb sdc sdd sde" >+for i in $blacklist; do >+ if [ -n "$1" ] && [[ "$1" == $i ]]; then >+ echo "ignored device ${1}" | logger >+ exit 0 >+ fi >+done >+ > . /usr/share/univention-lib/all.sh > > eval "$(univention-config-registry shell)" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36716
:
6378
| 6379