Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2001 16:05:39 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dominik Brettnacher <domi@saargate.de>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Tape support for linux programs
Message-ID:  <20010409160538.A12420@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.21.0104091935570.30171-100000@dominik.saargate.de>; from "Dominik Brettnacher" on Mon Apr  9 19:37:15 GMT 2001
References:  <fc.41bf7eab41bf7eabd0f4ae6a3b9aca00.dfe5f5@saargate.de> <Pine.BSF.4.21.0104091935570.30171-100000@dominik.saargate.de>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 09), Dominik Brettnacher said:
> On Mon, 9 Apr 2001, dnelson@emsphone.com wrote:
> > >> has anybody of you plans to make the Linux emulation support tape
> > >> drives so that one can use Linux backup programs on FreeBSD?
> > It's not a matter of tape support; the tape drive support is fine. 
> > Lots of Linux backup programs want to send raw SCSI commands, though,
> > which means there needs to be an emulation layer to convert our
> > /dev/pass* devices to support Linux /dev/sgm* 's ioctls.
> 
> So does mt use raw SCSI commands?
> 
> bash-2.04$ ./mt -f /dev/sa1 status
> ./mt: /dev/sa1: Invalid argument
> bash-2.04$ dmesg |tail
> [...]
> linux: 'ioctl' fd=3, cmd=6d01 ('m',1) not implemented

Most of the 'mt' commands use an ioctl that is not emulated by FreeBSD. 
Emulating this would be considerably easier than the /dev/sgc stuff,
but is still a bit complicated.  The basic rewind/seek/filemark
operations would be pretty easy.

-- 
	Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010409160538.A12420>