On Sat, Jun 22, 2002 at 11:45:47AM -0100, Matej Kosik wrote: > Hi, Hi Matej,
CCing to debian-hurd as this is more a Debian issue. > `dselect' program printed out the following message: > > hd2: media changed > mount: invalid option -- r > Try `mount --help' or `mount --usage' for more information > Unable to mount `/dev/hd2' on /var/lib/dpkg/methods/mntm type iso9660 > > and asked for entering the device name again. > > Can somebody tell me, why it does not work? Some time ago I was using > some old `Debian GNU/Linux' distribution and there was no problem > with `dselect' program there (I know nothing about `apt-get'.) dselect is executing the mount command, which is a full native mount on GNU/Linux. The GNU system, though, has a mount script that makes use of the real thing (Hurd translators). That script seems not be fully compliant with GNU/Linux mount. Dselect should use settrans and friends directly when the __GNU__ macro is defined, and mount otherwise (for both GNU/Linux and GNU/*BSD). you said wanted to learn about the Hurd. could you fix that problem? It shouldn't be hard (check settrans --help). I think it'd be like this: mount -t iso9660 /dev/foo /cdrom --> settrans -af /cdrom /hurd/isofs /dev/foo umount /cdrom --> settrans -f /cdrom See http://www.vmlinux.org/twiki/bin/view/Hurd/BtsFiling for patch sending instructions. (and don't file this as important or you'll be flamed ;) cheers, -- Robert Millan "5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5" Andrew S. Tanenbaum, 30 Jan 1992 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

