File: ext2

package info (click to toggle)
cryptsetup 2%3A1.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,644 kB
  • ctags: 500
  • sloc: sh: 10,578; ansic: 4,114; xml: 471; makefile: 356; python: 90; perl: 44; sed: 16
file content (8 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh

if /sbin/e2label $1 2>/dev/null 1>&2; then
  exit 0
else
  echo " - The device $1 does not contain a valid EXT2 or EXT3 filesystem."
  exit 1
fi