[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backups using tar - /dev/ht0



>     Alvin> you need to create a tape decice called /dev/ht0 and/or ln
>     Alvin> -s /dev/hdc /dev/ht0 ( donno if it would work )
> 
>     Alvin> 	"MAKEDEV /dev/ht0" should work
> 
> MAKDEV: don't know hot to make device "/dev/ht0"
> 
> Now I seem to be screwed.

did you try:
	cd /dev
	./MAKEDEV ht0
	
	= should work, if not...

more info
	http://www-wsg.cso.uiuc.edu/resources/unixguide/devices.html

you do it the hard way
	# crw-rw----   1 root     disk      37,   0 May  5  1998 /dev/ht0
	#
	# manually create the device that MAKEDEV failed to do..
	# donno why it didnt work for you
	#
	root#  mknod  /dev/ht0 c 37 0
 

when ready...
can you access the tape ( stick in a blank tape .. :-) )

	mt -f /dev/ht0 rewind
	mt -f /dev/ht0 eject

than try to tar up a file and read it back

	write# tar zcvf /dev/ht0 /etc

	-- rewind --
	read# tar ztvf /dev/ht0

add more tar options as you like...

c ya
alvin
http://www.Linux-Sec.net



Reply to: