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 -- LDAP Account Manager https://www.ldap-account-manager.org/
signature.asc
Description: OpenPGP digital 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
