[Linuxtrent] Re: mknod

  • From: Flavio Stanchina <flavio.stanchina@xxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Wed, 16 Apr 2003 23:25:53 +0200

On Wednesday 16 April 2003 19:00, fsendmail wrote:
> Ho cancellatp per sbaglio il file fd0H1440 in /dev/ come posso
> ricrearlo?

# cd /dev
# ./MAKEDEV fd0

> Mi sembra di ricordare che dovrei usare il comando mknod ma non mi
> ricordo i numeri primario e secondario. Mi potreste scrivere la riga
> esatta da scrivere nella shell?

Non usare mknod se non sai major e minor a memoria. Lo script MAKEDEV 
crea automaticamente tutti i device con numeri e permessi giusti.

Oppure usa devfs ;)

-- 
Ciao,
    Flavio Stanchina
    Trento - Italy

It may be bad manners to talk with your mouth full, but it isn't too
good either if you speak when your head is empty.

-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con SOGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: