devprobe hd2
dd if=/dev/hd2 of=/dev/null bs=1k count=1
etc. lock CD (hd2): devprobe and storeio call device_open, which
calls cdrom_lock_door, but they don't call device_close, which unlocks
CD! (Should Mach call device_close, when there are no send rights to
the device port?)
___
Gnumach doesn't close device when last send right is released. If you do
dd if=/dev/hd2 of=/dev/null bs=1k count=1
kill /* pid of /hurd/storeio hd2 */
cdrom (hd2) door remains locked.
Patch:
---cut here---
diff -r -C 2 --exclude configure
gnumach/i386/i386at/i386at_ds_routines.c
g
Gnumach doesn't close device when last send right is released. If you do
dd if=/dev/hd2 of=/dev/null bs=1k count=1
kill /* pid of /hurd/storeio hd2 */
cdrom (hd2) door remains locked.
Patch:
---cut here---
diff -r -C 2 --exclude configure
gnumach/i386/i386at/i386at_ds_routines.c
g
$ 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
Here is a patch for your code, that makes it compilable:
--- cut here ---
diff -ur -x *CVS* /home/alexey/gnu/hurd/tmpfs/dir.c
/mnt/hurd/root/prog/hurd/tmpfs/dir.c
--- /home/alexey/gnu/hurd/tmpfs/dir.c Wed Dec 27 03:57:36 2000
+++ /mnt/hurd/root/prog/hurd/tmpfs/dir.cSat Dec 30 15:00:47 20