Joined: 20 Jun 2010 Posts: 4131 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 ..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum