Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fs="xfs"
- for fs in ext2 ext3 ext4 reiserfs jfs xfs
- do
- echo -n "$fs: "
- case $fs
- in
- ext2)
- echo obsolete. come on
- ;;
- ext[34])
- echo linux extended file system
- ;;
- xfs)
- echo "need -f"
- ;;
- *)
- echo nothing special known about it
- esac
- done
Add Comment
Please, Sign In to add comment