Re: Mount crashes

2001-02-12 Thread Alexey Dejeka
The problem is concerned with the mount utility. # mount /dev/hd2 /cdrom gives `Segmentation fault'. Look: hurd/utils/mount.c: 520struct mntent m = 521{ 522 mnt_fsname: device, 523 mnt_dir: mountpoint, 524 mnt_type: fstype, ! 525

Re: Mount crashes

2001-02-12 Thread Marcus Brinkmann
Hi Alexy, sorry for getting back to you so late. Can you explain in one or two sentences, under which conditions which of the mntent fields are zero when this function is called? The C library will always return the empty string instead of NULL, so I wonder if the patch is correct, or if the bug

Mount crashes

2000-12-13 Thread Alexey Dejneka
$ mount -t isofs /dev/hd2 /cdrom gives segmentation fault. Patch: ---cut here--- diff -ur hurd/sutils/fstab.c hurd-new/sutils/fstab.c --- hurd/sutils/fstab.c Fri Nov 19 08:06:18 1999 +++ hurd-new/sutils/fstab.c Wed Dec 13 11:06:03 2000 @@ -275,7 +275,12 @@ /* Copy each mntent field from MNT