Joined: 20 Jun 2010 Posts: 4026 Location: Kiel,Germany
Posted: Wed 30 May 2012, 11:13 Post_subject:
i would like to disturb a little : " should " indicate if mounted .
The Pup scripts use " df " and or " mount " command to check if mounted and the mount and umount commands are wrappers to create the iconstate on desktop .
mount itself can be tricky :
if you unplug a mounted drive without unmounting anything
and plug it in again, the output of mount still shows the drive partitons mounted . Will have to check for " df " too if this happens to me another time . I don't like to force it to avoid filesystem corruption .
mount actually reads the file /proc/mounts ,
so it is the kernel thats the problem ,
which is updating dmesg in such cases , but not /proc/mounts,
and not /bin/mount[-FULL] , which is part of util-linux pkg, which should be found somewhere here :
But i only get blank pages for these today .. seems they get anther attack atm or my firewall is preventing things ..