From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bc4a219af5a86ca6 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: two question about DU4.0 Date: 1997/09/15 Message-ID: <5vk8v6$cc2@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 273490030 References: <341AA5A8.BFD0D312@ms3.hinet.net> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 In article <341AA5A8.BFD0D312@ms3.hinet.net>, Vincent Huang writes: >I didn't had any reference about how to use floppy disk, so,anybody can >teach me how >to mount a floppy disk? It depends on what you put on it. You can write directly to it using any of the commands that are used for making tape archives; tar, cpio, etc. Simply use the character device file name with the command: % tar cf /dev/rfd0c my-directory If you want need file system support, it depends on the file system. I believe a floppy is just big enough to make a UFS on one, so you could simply: # mount /dev/fd0c /mnt/wherever If the file system is one created by a DOS system you can use mtools to read it. This is the set of commands include in the MTOOLS subset which can read and write an MS-DOS format file system. The mtools manual page has a good overview of the suite and how to set it up. >I now want to reinstall DU4.0B in my system. >I choose AdvFS option in my harddisk,but I found the file type still to >be "4.2BSD" when >I use "disklabel -r rz0c" ,after installation . >How can I mkae my harddisk to AdvFS system by advfs command.? If you have a 2nd disk you can use, it might be easiest to simply create a domain for root, usr and var, create the file sets for each and backup/restore each file system to the new disk. When starting on the new disk you need to use the option of disklabel that writes the AdvFS boot blocks. If not, then I think the easiest way to clear the label so you can use AdvFS is to boot the system from the CDROM and select the shell option. That will let you run disklabel to clear the label (disklabel -z). Then you can continue the installation and it should relabel and allow you select AdvFS for the various file systems. > >thanks if U can answer my stupid question.. > > >Vincent Huang > > -- Alan Rollow alan@nabeth.cxo.dec.com