De acordo com as Leis 12.965/2014 e 13.709/2018, que regulam o uso da Internet e o tratamento de dados pessoais no Brasil, ao me inscrever na newsletter do portal DICAS-L, autorizo o envio de notificações por e-mail ou outros meios e declaro estar ciente e concordar com seus Termos de Uso e Política de Privacidade.


Norewinding tape device (Solaris)

Colaboração: Rubens Queiroz de Almeida

Data de Publicação: 12 de Junho de 1997

Para se armazenar vários backups em uma fita DAT deve-se usar o device que não rebobina a fita no fechamento do arquivo.

No Solaris deve-se utilizar o dispositivo /dev/rmt/0hbn.

Por exemplo, para se gravar vários arquivos:

  % tar cvf /dev/rmt/0hbn /usr
  % tar cvf /dev/rmt/0hbn /home
  % tar cvf /dev/rmt/0hbn /

O valor "0" em "0hbn" pode variar, caso a sua máquina possua mais de uma unidade de fitas conectada, mas os demais valores devem ser digitados exatamente da mesma forma.

Embora simples, esta informação não é muito fácil de achar nas man pages do Solaris. E quem vem do SunOS (como eu) pode gastar um tempo considerável procurando por esta informação, ou pior, fazendo vários backups em fitas DAT, todos um em cima do outro, o que já não é tão engraçado (isto eu não fiz, eu sempre dou um tcopy /dev/rmt/0 depois dos backups e se não estiver certo, eu faço de novo) :-(


Dica Humorística :-)

BASTARD OPERATOR FROM HELL #6

It's friday, so I get into work early, before lunch even. The phone rings. Shit!

I turn the page on the excuse sheet. "SOLAR FLARES" stares out at me. I'd better read up on that. Two minutes later I'm ready to answer the phone.

"Hello?" I say.

"WHERE HAVE YOU BEEN, I'VE BEEN TRYING TO GET YOU ALL MORNING?!"

I hate it when they shout at me early in the morning. It always puts me in a bad mood. You know what I mean.

"Ah, yes. Well, there's been some solar activity this morning, it always disrupts electronics..." I say, sweet as a sugar pie.

"Huh? But I could get through to my friends?!"

"Yes, that's entirely possible, solar activity is very unpredictable in it's effects. Why last week, we had some files just dissappear from a guys account while he was working on it!"

"Really?"

"Straight Up! Hey, do you want me to check your account?"

"Yes please, I've got some important stuff in there!"

"Ok, what's your username..."

He tells me. Honestly, it's like shooting a fish in a barrel. Twice. With an Elephant Gun. At point blank range. In the head.

(Do I really need to tell you the clicky clicky bit? I think not)

"How many files are in your account?" I ask

Hmmm, well there should be about 20 in my thesis writeup, 10 or so with the data for it, and another 20 or so in a book that I'm writing"

"Hmmm. Well, I think we caught it just in time. You've still got 2 files left... .cshrc and .login"

"AAAAAAAAAAAAAAAAAAAaaaaaaaaggggggggghhhh!"

He sobs into the receiver a bit - it really turns my stomach.

"What can I do?" he sniffs

"Ok, do you have any of your stuff backed up on floppy?"

"Some, but it's weeks old!"

I fire up the bulk eraser.

"Ok" I say "How about I come out and load all that data onto your account pronto so you can get some work done?"

"That'd be great, but it's all at home" he wimpers. "I spose I'll just load it all in myself tonight"

"Sure. But remember what I said, solar flares are bad for disks and machines. Protect your disks from solar activity to prevent them losing their data"

"How do I do that? Wrap them in tin-foil?"

"NO! TIN FOIL'S THE WORST THING! YOU KNOW WHAT TIN FOIL DOES IN A MICROWAVE DON'T YOU?!"

"Yes.."

"Then don't use it. There's only one thing that protects disks from solar activity.."

"What's that?"

"MAGNETS. Wrap your disks up in a pillow case with lots of magnets - Solar Flares hate that"

"Wow! Thanks"

"No worries at all..."

Shit I'm good!

<spt (a) waikato ac nz> (Simon Travaglia)

Adicionar comentário

* Campos obrigatórios
5000
Powered by Commentics

Comentários

Nenhum comentário ainda. Seja o primeiro!


Veja a relação completa dos artigos de Rubens Queiroz de Almeida