Skip to contentSkip to conversation

dos-partition mount bug

DISCUSSION Andreas Huppert 2 participants 2 messages Jan 28, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

Hi,

The following bug-report concerns all linux-versions (inclusive 2.2.18) I have had to do with!

Quoted 21 lines

I have been trying to mount the dos-partition /dev/hdb1 on /dos/d for three years and it fails:
My /etc/fstab is:
/dev/hda3 / ext2 defaults 0 1
/dev/hdb2 /downloads ext2 defaults 0 1
/proc /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 ro,noauto,user,exec 0 0 /dev/hda4 /usr ext2 defaults 0 2
/dev/hda1 /dos/c vfat user,noexec,nosuid,nodev 0 2 /dev/hda5 /dos/e vfat user,noexec,nosuid,nodev 0 2 /dev/hdb1 /dos/d vfat user,noexec,nosuid,nodev 0 2

and "mount /dos/d" sais:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems

strace sais:
mount("/dev/hdb1", "/dos/d", "vfat", MS_NOSUID|MS_NODEV|MS_NOEXEC|0xc0ed0000, 0x8056fc8) = -1 EINVAL (Invalid argument)

Quoted 4 lines

I don´t need to say, that mounting /dos/c and /dos/e works without any problem. On the other hand win'98 works with all dos-partitions normally. Thanks
Andreas Huppert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

I suggest type # fdisk -l /dev/hdb
Maybe it's FAT32 where the others are FAT16?
Try SCANDISK(tm)...
If you're familiar with FAT, you also could use DEBUG, the Norton Utilities etc. to look for a failure in the filesystem. For FAT16 it's easy. Bootsector, 2xFAT, root dir, data blocks
Send us a hexdump of the first block. (If it's FAT16)

PS: I'm going to bed now, so could be some time to respond

mirabilos

----- Original Message -----
From: "Andreas Huppert" <[email protected]>
To: <[email protected]>
Sent: Sunday, January 28, 2001 8:49 PM
Subject: dos-partition mount bug

Quoted 29 lines
Quoted 1 line

Hi,

The following bug-report concerns all linux-versions (inclusive 2.2.18) I have had to do with!

Quoted 25 lines

I have been trying to mount the dos-partition /dev/hdb1 on /dos/d for three years and it fails:
My /etc/fstab is:
/dev/hda3 / ext2 defaults 0 1
/dev/hdb2 /downloads ext2 defaults 0 1
/proc /proc proc defaults 0 0
/dev/cdrom /cdrom iso9660 ro,noauto,user,exec 0 0 /dev/hda4 /usr ext2 defaults 0 2
/dev/hda1 /dos/c vfat user,noexec,nosuid,nodev 0 2 /dev/hda5 /dos/e vfat user,noexec,nosuid,nodev 0 2 /dev/hdb1 /dos/d vfat user,noexec,nosuid,nodev 0 2

and "mount /dos/d" sais:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems

strace sais:
mount("/dev/hdb1", "/dos/d", "vfat", MS_NOSUID|MS_NODEV|MS_NOEXEC|0xc0ed0000, 0x8056fc8) = -1 EINVAL (Invalid argument)

I don´t need to say, that mounting /dos/c and /dos/e works without any problem. On the other hand win'98 works with all dos-partitions normally. Thanks
Andreas Huppert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/