home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!sdd.hp.com!hp-col!fc.hp.com!rjn
- From: rjn@FC.HP.COM (Bob Niland)
- Newsgroups: comp.sys.hp
- Subject: Re: Can "mt" commands be using on 1/4" Cartrdige tape on HP400's w/HP-UX8.0?
- Message-ID: <Bun39y.Cx0@fc.hp.com>
- Date: 15 Sep 92 21:49:10 GMT
- References: <BuKqqt.KMH@fc.hp.com>
- Sender: news@fc.hp.com (news daemon)
- Reply-To: rjn@FC.HP.COM
- Organization: Hewlett-Packard/WSY Ft.Collins,CO,USA
- Lines: 55
- X-Newsreader: Tin 1.1scd1 PL4
-
- rjn@FC.HP.COM (Bob Niland) writes:
- > Any "append" operation that would work on a /dev/rdsk will work on these
- > tape drives. "mt" operation attempts often result in "not a typewriter",
- > one of the less helpful Un*x error messages.
-
- I put it that way because I couldn't immediately think of any simple
- ways to perform appended I/O on a raw direct-access device. On further
- reflection, if I had the need to put multiple archives on a 1/4-inch
- (16-track HC format) tape, I would pick one of:
-
- ***NOTE: These Operations are Very Slow***
-
- 1. LIF filesystem
-
- ## Assuming a 600-foot tape....
- #
- # lifinit -v66977792 -nLIF_CT -d256 /dev/rct
- # cd <wherever>
- # find . -print -hidden | cpio -ocv | lifcp -b - /dev/rct:NAME1_CPIO
- # cd <wherever>
- # find . -print -hidden | cpio -ocv | lifcp -b - /dev/rct:NAME2_CPIO
- # <etc>
- # lifls -l /dev/rct
-
- This is apt to be much faster as lifinit only writes the "-d" space on
- the medium, and LIF files are contiguous, but, LIF files are NOT
- extensible after close. If possible, create the cpio/tar file then lifcp
- it as a separate operation.
-
- 2. HFS file system (***CAUTION: UNTESTED***)
-
- Edit /etc/disktab to include:
- 9144A_600ft:\
- :no swap or boot:ns#1:nt#16:nc#4088:\
- :s0#65408:b0#8192:f0#1024:\
- :se#1024:rm#1:
-
- # /etc/newfs -L -n -v /dev/rct 9144A_600ft
- # mkdir /tape_mount
- # /etc/mount /dev/ct /tape_mount
- # cd <wherever>
- # find . -print -hidden | cpio -ocv > /tape_mount/name1.cpio
- # cd <wherever>
- # find . -print -hidden | cpio -ocv > /tape_mount/name2.cpio
- # ls -l /tape_mount
- # /etc/umount /dev/ct
-
- Regards, Hewlett-Packard
- Bob Niland Internet: rjn@FC.HP.COM 3404 East Harmony Road
- CompuServe: 71044,2124 Ft Collins CO 80525-9599
-
- This article represents only the opinion[s] of its author, and is not an
- official or unofficial position of, or statement by, the Hewlett-Packard
- Company. The text is provided for informational purposes only. It is
- supplied without warranty of any kind.
-