Lets try and disect this.
from vmount the first check for hda1 comes from this
probepart 2>/dev/null | grep -e "^/dev" | grep -v " Ext'd" | grep -v "raid autodetect" | sed 's/*/ /'
after that it gets the filesystem from this
mount $PARTITION /mnt/hd
LINE=`mount | grep -e "$PARTITION"`
FSTYPE=`echo $LINE | cut -f5 -d ' '`
If you could unmount /dev/hda1
and then run this and post output back here I would appreciate it.
PARTITION=/dev/hda1
mount $PARTITION /mnt/hd
LINE=`mount | grep -e "$PARTITION"`
FSTYPE=`echo $LINE | cut -f5 -d ' '`
echo $FSTYPE
Right. As below:
root:# umount win-c
t-40vl://mnt
root:# PARTITION=/dev/hda1
t-40vl://mnt
root:# mount $PARTITION /mnt/hd
t-40vl://mnt
root:# LINE=`mount | grep -e "$PARTITION"`
t-40vl://mnt
root:# FSTYPE=`echo $LINE | cut -f5 -d ' '`
t-40vl://mnt
root:# echo $FSTYPE
xfs
Strange.... Even stranger, if I run 'mount' after running that, I get this:
red2:$ mount
/dev/hda12 on / type xfs (rw)
/dev/hda10 on /home type xfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda5 on /mnt/win-d type vfat (rw,noexec,nosuid,nodev,umask=000)
/dev/hda6 on /mnt/os2-e type hpfs (rw,noexec,nosuid,nodev)
/dev/hda7 on /mnt/os2-f type hpfs (rw,noexec,nosuid,nodev)
/dev/hda8 on /mnt/zboot type ext2 (rw,noexec,nosuid,nodev)
/dev/hda9 on /mnt/os2-g type jfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
/dev/hda1 on /mnt/hd type ntfs (rw)
So it has reported XFS but mount has correctly mounted it as NTFS. Weird....
the correct fstab line for hda1 should be
/dev/hda1 /mnt/win-d ntfs-3g defaults,allow_other,umask=0,users,nls=utf8,noexec 0 0
Great, thanks for that...
paul