SUMMARY- Solaris 2.x floppy

From: Paul Silvey (Paul_Silvey@iegate.mitre.org)
Date: Tue Dec 20 1994 - 23:46:24 CST


                      SUMMARY: Solaris 2.x floppy tar?
The trick, as several people pointed out, is to kill or disable the
volume manager deamon before trying to access the floppy with tar.
There was some variety in the way people suggested the device name,
such as "/dev/diskette", "/dev/rdiskette", "/dev/fd0c", and
"/vol/dev/aliases/floppy0". Of these, the one that seems to be most
correct is /dev/diskette.

To kill vold, use:

ps -ae | grep vold
kill <vold_pid>

or

sh /etc/init.d/volmgt stop

To disable vold, edit /etc/vold.conf to comment out lines pertaining to the
floppy diskette, and send a hangup signal to the deamon to get it to
re-read the config file:

ps -ae | grep vold
kill -HUP <vold_pid>

Then, to use tar, access the device as a file using /dev/diskette:

tar cvf /dev/diskette <your_files>
tar tvf /dev/diskette
tar xvf /dev/diskette

Thanks to all who responded:

bidwell@andrews.edu (Daniel R. Bidwell)
Kevin.Sheehan@uniq.com.au (Kevin Sheehan)
gldw@lanl.gov (Jerry Weber)
vic@raven21 (Victor Churchill)
raoul@athena.mit.edu (Nico Garcia)
yves@suntech.abcomp.be (Yves Hardy)
ken@cpatl.com

My original question was:

> Solaris 2.x floppy tar?
> Sun Managers,
>
> I didn't see this in the FAQ. How can I use tar to read and write on a
> floppy under Solaris 2.3? I'm trying to transfer files from a Mac (using
> suntar). I can read some of the files in an archive, but only the first
ones
> (up to some size = 1 block?), using "tar xvf
/vol/dev/rdiskette0/unlabeled".
> What is the correct way to do this? I'll summarize. Thanks.
>
> -Paul Silvey, The MITRE Corporation



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:17 CDT