quota and vfat fixes.

Merge of master-melb:xfs-cmds:23117a by kenmcd.

  Added fixed block size for vfat filesystems. Required because mkfs.vfat fails after the super-block is wiped.
This commit is contained in:
Andrew Jones
2005-07-08 15:05:17 +00:00
parent 28eafb005f
commit 220756b0f3
6 changed files with 29 additions and 5 deletions
+2 -1
View File
@@ -65,9 +65,10 @@ do
preargs="" # for any special pre-device options
postargs="" # for any special post-device options
# minix and msdos mkfs fails for large devices, restrict to 2000 blocks
# minix, msdos and vfat mkfs fails for large devices, restrict to 2000 blocks
[ $fs = minix ] && postargs=2000
[ $fs = msdos ] && postargs=2000
[ $fs = vfat ] && postargs=2000
# these folks prompt before writing
[ $fs = jfs ] && preop="echo Y |"
[ $fs = reiserfs ] && preop="echo y |"