code library /libsrcinst-2.5

/* Find the length of STRING + 1, but scan at most MAXLEN bytes. Copyright (C) 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 3, or (at …

mountpoint – see if a directory is a mountpoint

Mountpoint checks if the directory is a mountpoint. $mountpoint / / is a mountpoint $echo $? 0 $mountpoint /dev/ /dev/ is a mountpoint $echo $? 0 $mountpoint /media/ /media/ is not a mountpoint $echo $? 1 $mountpoint /store/ /store/ is not a mountpoint $echo $? 1 $mountpoint /etc/ /etc/ is not a mountpoint $echo $? …