From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Как пройти сборку если требуется /dev/shm ?
Date: Mon, 12 Jan 2015 15:30:16 +0300
Message-ID: <54B3BE58.6050208@altlinux.com> (raw)
In-Reply-To: <20150101204150.GA31879@altlinux.org>
On 01.01.2015 23:41, Dmitry V. Levin wrote:
> Hi,
>
> On Tue, Dec 30, 2014 at 04:53:59PM +0300, Andrew V. Stepanov wrote:
>> И рассмотрим семафор Posix.
>>
>> $ cat 1.c
>> #include <semaphore.h>
>> #include <stdio.h>
>> #include <errno.h>
>> #include <stdlib.h>
>> #include <unistd.h>
>> #include <sys/types.h>
>>
>> #include <sys/stat.h>
>> #include <fcntl.h>
>> #include <sys/mman.h>
>>
>> int main(int argc, char **argv)
>> {
>> sem_t *mutex;
>>
>> if ((mutex = sem_open("mysemaphore", O_CREAT, 0644, 1)) ==
>> SEM_FAILED) {
>> perror("semaphore initilization");
>> exit(1);
>> }
>>
>> exit(0);
>> }
>>
>> $ gcc 1.c -lpthread
>>
>> $ ./a.out
>> semaphore initilization: Function not implemented
>
> Используйте hasher >= 1.3.23-alt1 и собирайте на tmpfs.
Дима, а почему такое требование - tmpfs ?
мне вот уже давно более удобно в VM пробрасывать ramdisk нужного размера.
/dev/vdb 4,0G 1,2G 2,7G 31%
/home/rider/hasher
Как сделать так, что б оно собиралось у меня локально в моей
конфигурации без использования tmpfs ?
next prev parent reply other threads:[~2015-01-12 12:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-29 14:32 Andrew V. Stepanov
2014-12-30 13:53 ` Andrew V. Stepanov
2014-12-31 13:57 ` Alexander Bokovoy
2015-01-01 20:41 ` Dmitry V. Levin
2015-01-12 12:30 ` Anton Farygin [this message]
2015-01-12 13:55 ` Dmitry V. Levin
2015-01-12 14:15 ` Dmitry V. Levin
2015-01-12 19:12 ` Anton Farygin
2015-01-12 19:36 ` Dmitry V. Levin
2015-01-13 11:55 ` Anton Farygin
2015-01-16 14:54 ` Dmitry V. Levin
2015-01-16 19:07 ` Anton Farygin
2015-01-16 19:54 ` Dmitry V. Levin
2015-01-16 20:06 ` Anton Farygin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54B3BE58.6050208@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git