Hi, I am working on a project where I have to move some parts files from an old Unix server. I have tared the files to floppy disc, but I can't mount them. After doing some reasearch I have found that the SCO Unix ver 3.2 uses a System V filesystem I think. From the article that I have read I need to add this filesystem to my kernel to be able to mount and read the floppy discs. Can anyone help me with this I have never recomipled my kernel before. Then I should be able to use # mount -t sysv /dev/fd0 /mnt/floppy I have found in the .config file under misc filesystems that I can turn on sysv filesytem. I am not sure what to do after that. Is it better to make it a module or to compileit into the kernel? kernel CONFIG_SYSV_FS=y as a modual CONFIG_SYSV_FS=m If I go the modual way where do I find the modual? I would use modprobe to install it right? What commands do you run to recompile the kernel? Do I run make menuconfig? I have been reading alot but not finding what I need. I have a fresh install off Centos 4.2 just for this purpose so if I mess it up that s okay I will start again. I am sure this is so simple once you have done it once. Thanks Scandog
On Mon, 2006-02-06 at 17:45 -0700, Mace Eliason wrote:> Hi, > > I am working on a project where I have to move some parts files from an > old Unix server. I have tared the files to floppy disc, but I can't > mount them.As an alternative, you could format the diskette using SCO's dosformat (or dosfmt or something like that. Review the man page.) And then copy the tar archive using the doscopy (or doscp or something like that. Review the man page.) I think its going to be something like: # dosformat a: # doscp mytarfile.tar a: Then use linux's mcopy to read the diskette. It's been a long time since I have used SCO. -Steve
On Mon, 2006-02-06 at 17:45 -0700, Mace Eliason wrote:> Hi, > > I am working on a project where I have to move some parts files from an > old Unix server. I have tared the files to floppy disc, but I can't > mount them. > > After doing some reasearch I have found that the SCO Unix ver 3.2 uses a > System V filesystem I think. From the article that I have read I need to > add this filesystem to my kernel to be able to mount and read the floppy > discs. > > Can anyone help me with this I have never recomipled my kernel before. > > Then I should be able to use > > # mount -t sysv /dev/fd0 /mnt/floppy > > I have found in the .config file under misc filesystems that I can turn > on sysv filesytem. I am not sure what to do after that. Is it better to > make it a module or to compileit into the kernel? > > kernel > CONFIG_SYSV_FS=y > > as a modual > CONFIG_SYSV_FS=m > If I go the modual way where do I find the modual? I would use modprobe > to install it right? > > What commands do you run to recompile the kernel? Do I run > make menuconfig? > > I have been reading alot but not finding what I need. I have a fresh > install off Centos 4.2 just for this purpose so if I mess it up that s > okay I will start again. > > I am sure this is so simple once you have done it once. >Is there no network connection to the old server. There are tons of ways to move files (ftp, nfs, scp, sftp) that don't require you to recompile your kernel. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060206/c94c2321/attachment-0002.sig>
Mace Eliason wrote:> Hi, > > I am working on a project where I have to move some parts files from an > old Unix server. I have tared the files to floppy disc, but I can't > mount them.forget the filesystem. Use the dd command. all block devices can also be accessed as char devices in Unix. I'm assuming your files are small enough to fit on a single floppy? Write to floppy: tar czvf - <path> | dd of=/dev/rfd0xx Read from floppy: cd <path> dd if=/dev/rfd0xx | tar xzvf - Note: You will need to determine the correct device names. I have written this off the top of my head, and I haven't used a floppy in quite a while. Ray
On Mon, 2006-02-06 at 17:45 -0700, Mace Eliason wrote:> Hi, > > I am working on a project where I have to move some parts files from an > old Unix server. I have tared the files to floppy disc, but I can't > mount them. >Wait a minute. Ignore my last post. If you copied the tar file to a sysv filesystem on a mounted floppy, that is not the best way. Just take a floppy (after backing up the directory just in case) and do: # tar cvf /dev/rfd0135ds18 path_to_a_directory And the directory and its files will be sent to a raw archive on the floppy. No filesystem involved. You should be able to retrieve them under Centos with: tar xvf /dev/floppy If you need to compress the archive: # tar cvf - path_to_directory | compress > /dev/rfd0135ds18 and then extract with: # tar zxvf /dev/floppy. (I think gzip will recognize the old compress format.) -Steve
On Mon, 2006-02-06 at 19:04 -0600, Johnny Hughes wrote:> > Is there no network connection to the old server. There are tons of > ways to move files (ftp, nfs, scp, sftp) that don't require you to > recompile your kernel.Unfortunately, only very few SCO Unix 3.2 machines had the optional, pay extra for, tcp/ip support. -Steve
William L. Maltby
2006-Feb-07 01:15 UTC
[CentOS] How to add System V Filesystem to Centos?
On Mon, 2006-02-06 at 17:45 -0700, Mace Eliason wrote:> Hi, > > I am working on a project where I have to move some parts files from an > old Unix server. I have tared the files to floppy disc, but I can't > mount them. > <snip>> System V filesystem <snip>> Then I should be able to use > > # mount -t sysv /dev/fd0 /mnt/floppy > > <snip>> Thanks > > Scandog > <snip>I can't answer your question, but I would like to suggest an alternative that might be less work. Use cpio to make on output file and compress it onto floppy using the compress command, which I have checked also exists on CentOS (I *presume that your old UNIX doesn't have {b,g}zip. I see a reference also to pack, but it seems to be only man pages. Both of these compressions programs are very old and should be on your system. Regardless, fewer floppies will be needed, no kernel recomp or such and all your risk is some minor attribute/time-stamp issues at worst. Take a look at the man pages for cpio. You can also use tar for this, although I really prefer cpio and always have. HTH Bill -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060206/eda4ff22/attachment-0002.sig>
On Mon, 2006-02-06 at 20:15 -0500, William L. Maltby wrote:> I can't answer your question, but I would like to suggest an alternative > that might be less work. Use cpio to make on output file and compress it > onto floppy using the compress command, which I have checked also exists > on CentOS (I *presume that your old UNIX doesn't have {b,g}zip. I see a > reference also to pack, but it seems to be only man pages. Both of these > compressions programs are very old and should be on your system.For cpio, which does work well on SCO: cd path_to_directory find . | cpio -ocv | compress > /dev/rfd0135ds18 and then to extract under Centos: cd path_to_where_you_want_to_extract gunzip < /dev/floppy | cpio -idmvc BTW, I don't think that multivolume archives work between SCO and Linux for either cpio or tar. They might work for cpio, but definitely not with compression. If it works and you need multivolume, you'd have to do: find . | cpio -ocv -O/dev/rfd0135ds18 Also note (FWIW) that SCO's tar will silently fail to back up empty directories and will not backup device files. -Steve