9fans archive / 1998 / 01 / 24 / prev next
From: Fariborz "Skip" Tavakkolian skipt@pro...
Subject: [9fans] u9fs & iso9660
Date: Wed, 14 Jan 1998 12:04:36 -0800
Thanks. This works. One modification: last argument to mount (aname parameter
of attach message?) is 'device' not 'dev' according to 'u9fs.c'
To review:
on 'linuxbox':
ln /dev/hdc /plan9/cdrom # or whatever the cdrom device is
# u9fs serves /plan9
on Plan9 side:
mkdir /n/linux
mkdir /n/cdrom
srv tcp!linuxbox!u9fs
mount /srv/tcp!linuxbox!u9fs /n/linux device
9660srv -f /n/linux/cdrom cdrom
mount /srv/cdrom /n/cdrom
At 09:12 PM 1/13/98 -0500, you wrote:
>It seems to me that if Linux is willing to serve
>/dev/cdrom as an image of the CD-ROM, then you should
>be able to run the Plan9 9660srv on the u9fs-mounted
>/dev/cdrom to get a filesystem that knows about _conform.map.
>
>in linux:
> umount the cd
>
>in plan9:
> mkdir /n/linux
> mkdir /n/cdrom
> srv tcp!linuxbox
> mount /srv/tcp!linuxbox /n/linux dev
> 9660srv -f /n/linux/dev/cdrom cdrom
> mount /srv/cdrom /n/cdrom
>
>I don't guarantee that this will work, or even that it won't
>crash the Linux and/or Plan9 systems. I wouldn't play too
>much with it unless you know what you're doing.
>I've done this with floppy disks, never CDs.
>
>Russ
>
>