|
Re: lug-bg: /dev/null device
- Subject: Re: lug-bg: /dev/null device
- From: mmarkov@xxxxxxx (Minko Markov)
- Date: Sun, 22 Dec 2002 18:01:19 -0800
ivailo kotev wrote:
>
> Zdravejte grupa
>
> imam slednia problem.
>
> Sled izpalnenieto na "mv /log/ime_na_fail /dev/null" se okaza che veche niamam /dev/null device. na negovo miasto ima edin obiknoven fail. sega mashinata postoianno pishti che i niama /dev/null.
> Shte vi bada blagodaren ako niakoj mi kaze kak da si vazstanovia /dev/null.
S mknod. Pri men
mmarkov::~$ l /dev/null
crw-rw-rw- 1 root root 1, 3 May 5 1998 /dev/null
Znachi,
mknod /dev/null c 1 3
i opravi permission-ite na 0666.
Samo ne sqm siguren dali e 'c' ili 'u' s mknod. Ot man mknod
c, u create a character (unbuffered) special file
Ne razbiram dali 'c' i 'u' sa ekvivalentni.
--
MM
PS Izglezhda, che mozhe obiknoven user da povredi /dev/null taka?
Ne mi se shte da eksperimentiram, no gledayki permission-ite...
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|