Hi Roland,

works!

--
Mit freundlichen Grüßen

##------------ IT Physik / Georg August Universitaet Goettingen ----------
## Tel: +49 551 399363 http://www.theorie.physik.uni-goettingen.de/jh.html
##
## Rechtschreibfehler sind Absicht und dienen der allgemeinen Belustigung.
##-------------- Verschtehen Sie, Isch habe garrr kein Wooerd! -----------

On Wed, 27 Jun 2018, Roland Gruber wrote:

Hi Jürgen,

On 26.06.2018 14:02, Juergen Holm wrote:
thanks a lot for the hint with bind mounts. I guess it would be best to
filter these bind mounts completely from the list. What do you think?

That was also my first idea, but I don't know how.
"mount -l  |grep home" says

/dev/mapper/local-home on /export/theorie/home type xfs
(rw,relatime,attr2,inode64,usrquota)
/dev/mapper/local-home on /home type xfs
(rw,relatime,attr2,inode64,usrquota)

so what's the bind mount?
The only way is to use the first line of lines with the same device.
Do you have another idea?

I filter any duplicate device names now. This way there are no more duplicates. 
You can test the updated script from here:

https://github.com/LDAPAccountManager/lam/blob/develop/lam/lib/lamdaemon.pl


Best regards

Roland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to