|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Dmitry Pryanishnikov 2:464/36 13 May 2002 13:40:53 To : All Subject : Re: bind9 --------------------------------------------------------------------------------
Привет!
On Mon, 13 May 2002, Alex Semenyaka wrote:
> VN> ls -l показывает тот же тип устройства (b/c, major, minor) и права?
> VN> Если да - то все корректно.
>
> Hу вряд ли человек делал cp -Rp /dev/random /chrooted/ :) Хотя бы потому что
> использование флага -R для копирования устройств с помощью cp - фича
> полуподпольная :) А без неё cp, натурально, читает содержимое :) /dev/random.
Почему же, это давно в manе описано, в 4.2 уже есть:
-R If source_file designates a directory, cp copies the directory and
the entire subtree connected at that point. This option also caus-
es symbolic links to be copied, rather than indirected through, and
for cp to create special files rather than copying them as normal
files. Created directories have the same mode as the corresponding
source directory, unmodified by the process' umask.
Sincerely, Dmitry
Atlantis ISP, System Administrator
e-mail: dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE
--- ifmail v.2.14.os-p7
* Origin: Atlantis ISP (2:464/36@fidonet)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/863751618777.html, оценка из 5, голосов 10
|