Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!ames!koriel!sh.wide!wnoc-tyo-news!rena!cnvxjp!omnis.co.jp!specgw!amurai From: amurai@spec.co.jp (Atsushi MURAI) Newsgroups: comp.os.386bsd.bugs Subject: [Source] ISOFS with Rock Ridge Ext. (1/3) Message-ID: <3227@specgw.spec.co.jp> Date: 19 Jul 93 07:08:25 GMT Sender: amurai@specgw.spec.co.jp Organization: System Planning and Engineering Corp., Tokyo, Japan Lines: 133 X-Newsreader: mnews [version 1.16PL1] I am not native speaker so just I can say "Hope this source helpful and enjoyable for you!" Atsushi. -----------------------Readme on /sys/isofs ---------------------------- 1.Installation 1) Make a BACK UP!! Because My patch level is too old (2.2.1), I don't want to screw up your current hacks just in case. I hope Patch coordinater and Both Jolitz will take care of this issue near future.......(Right?) example. mv /usr/include/sys/mount.h /usr/include/sys/mount.h.norrip mv /sys/conf/files /sys/conf/files.norrip mv /sys/../sbin/mount_isofs /sys/../sbin/mount_isofs.norrip mv /sys/../sbin/mount /sys/../sbin/mount.norrip mv /sys/isofs /sys/isofs.norrip 2) Extract file. Become root. cd / zcat isofs.tar.Z | tar xvf - 3) Rebuild mount and mount_isofs cd /sys/../sbin/mount make make install cd /sys/../sbin/mount_isofs make make install 4) Rebuild your kernel. cd /sys/i386/conf config <your kernel name> cd /sys/../sys.386bsd/compiles/<your kernel name> make depend make cp 386bsd /386bsd sync 5) Reboot! 2. Usage 1) It will be mount as the Rock Ridge Extension if cd-rom has it, and cd-rom doesn't has this extension, will mount as ISO9660 mode automatically. ex. mount -t isofs /dev/cd0d /cdrom 2) If you want to mount as ISO9660 that the Rock Ridge Extension disabled, just type a mount option like follow; ex. mount -t isofs -o norrip /dev/cd0d /cdrom 3. Done and TODO. 1) should understand "older", original High Sierra ("CDROM001") type Not yet. ( I don't have this technical information, yet. ) 2) should understand Rock Ridge Yes, we have follows function. o Symbolic Link o Real Name(long name) o File Attribute o Time stamp o uid, gid Except follows: o POSIX device modes I have no idea right now, we should check a REAL implementation for 386BSD..... o Limitation of 8 level directory( ISO9660 limitation ) Rock Ridge Extension are defined with the "CL/PL/RE" for getting rid of this limitation. But as far as I test the cdroms,I'v never seen this definition and we can access the over 8 level without it. (Another word, this limitation is NOT physical ISO9660's FORMAT limitation for unix stuffs.... I believe... ) 3) should be called cdfs, as there are other ISO file system soon possible Not yet. Probably we should make another file system when the ECMA draft is valid and do it. For doing Rock Ridge Support, I can use almost same code. So I just use the same file system interface... 4) should have file handles implemented for use with NFS, etc Yes. we have already this one, and I based it for this release. 5) should have name translation enabled by mount flag Yes. we can disable the Rock Ridge Extension by follows option; "mount -t isofs -o norrip /dev/cd0d /cdrom" 6) should run as a user process, and not take up kernel space (cdroms are slow) Not yet. And addition, we should try to avoid a long seek by a absolute path with using the PATH TABLE or other method. 7) ECMA support. Not yet. we need not only a technical spec but also ECMA format cd-rom itself! 8) Character set change by SVD ( multi SVD support ) Not yet. We should also hack the other part of system as 8 bit clean. As far as I know, if you export the cdrom by NFS, the client can access the 8 bit clean (ie. Solaris Japanese with EUC code ) ---------- Last update July 19, '93 by Atsushi Murai. (amurai@spec.co.jp) Atsushi Murai E-Mail: amurai@spec.co.jp SPEC Voice : +81-3-3833-5341 System Planning and Engineering Corp.