Basically,
I'm trying to use umask on a bunch of vfat filesystems, and "mount -a" crashes. No crash if I mount the filesystems manually 1 by 1.
Here's my fstab:
--snip--
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hda3 /ws3 vfat uid=stb,gid=stb,umask=027 0 0
/dev/hdb1 /videolib vfat uid=stb,gid=stb,umask=022 0 0
/dev/hdb2 /ws vfat uid=stb,gid=stb,umask=027 0 0
/dev/hdb3 /multimedia vfat uid=stb,gid=stb,umask=022 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda1 /mnt/sandisk auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
--snip--
And here's what happens when I run "mount -a":
[root@x1-6-00-50-fc-4d-f1-0f root]# gdb mount
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run -v -a
Starting program: /bin/mount -v -a
(no debugging symbols found)...(no debugging symbols found)...mount: LABEL=/boot already mounte
d on /boot
mount: none already mounted on /dev/pts
mount: none already mounted on /proc
mount: none already mounted on /dev/shm
(no debugging symbols found).../dev/hda3 on /ws3 type vfat (rw,uid=44791,gid=44791,umask=027)
Program received signal SIGSEGV, Segmentation fault. 0x0088f75d in malloc_consolidate () from /lib/tls/libc.so.6 (gdb) where #0 0x0088f75d in malloc_consolidate () from /lib/tls/libc.so.6 #1 0x0088ed5a in _int_malloc () from /lib/tls/libc.so.6 #2 0x0088e10d in malloc () from /lib/tls/libc.so.6 #3 0x0804e82a in getfsspec () #4 0x0804ef9c in error () #5 0x0804ae97 in ?? () #6 0x09f22c48 in ?? () #7 0x09f25868 in ?? () #8 0xbff45cd8 in ?? () #9 0x0804a4b0 in ?? () #10 0x08055111 in _IO_stdin_used () #11 0x0805738f in _IO_stdin_used () #12 0x09f25868 in ?? () #13 0xffffffff in ?? () #14 0xffffffff in ?? () #15 0xffffffff in ?? () #16 0xffffffff in ?? () #17 0x09f22c58 in ?? () #18 0x09f22c58 in ?? () #19 0xbff45d48 in ?? () #20 0xbff45dc8 in ?? () #21 0x0804b548 in ?? () #22 0x09f22c48 in ?? () #23 0x09f22c58 in ?? () ---Type <return> to continue, or q <return> to quit---q Quit (gdb) exit Undefined command: "exit". Try "help". (gdb) quit The program is running. Exit anyway? (y or n) y [root@x1-6-00-50-fc-4d-f1-0f root]#
#17 0x09f22c58 in ?? ()