Searched refs:fsdir (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/wiper/contrib/
H A Draid1ext4trim.sh-1.526 echo " ${0##*/} [--verbose] [--commit] [--reserve=#megs] [--max-ranges=#ranges] <raid_dev> <fsdir>"
48 fsdir=""
63 elif [ "$fsdir" = "" ]; then
64 fsdir=$1
74 [ "$fsdir" = "" ] && usage_error
187 ## Check that fsdir is on an ext4 volume.
189 lines=`$DF --type=ext4 $fsdir 2>/dev/null | $GREP -v ^Filesystem | wc -l`
191 echo "'$fsdir' does not appear to be on an ext4 filesystem. Aborting."
195 ## Check that fsdir is a directory.
197 if [ ! -d $fsdir ]; the
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/hdparm-9.43/wiper/
H A Dwiper.sh199 ## Find the active mount-point (fsdir) associated with a device ($1: fsdev).
220 ## Find the device (fsdev) associated with a mount point ($1: fsdir).
224 function get_fsdev(){ ## from fsdir
228 ## Find the r/w or r/o status (fsmode) of a filesystem mount point ($1: fsdir)
232 function get_fsmode(){ ## from fsdir
239 echo "$fsdir: unable to determine mount status, aborting." >&2
278 ## Do some preliminary correctness/feasibility checks on fsdir:
281 ## Ensure fsdir exists and is accessible to us:
282 fsdir="$target"
283 cd "$fsdir" || exi
[all...]

Completed in 82 milliseconds