ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Kharitonov A. Dmitry" <kharpost@rambler.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Ошибки при сборке примера. cryptsetup API
Date: Mon, 11 Nov 2013 20:10:40 +0400
Message-ID: <52810180.90500@rambler.ru> (raw)
In-Reply-To: <CABf0-zw9u2jasV+qZ0aBhmgcPrfoL2h2vESLq6RAkz_8AQtkuA@mail.gmail.com>

10.11.2013 22:08, maverikod . пишет:
> Вываливалось по ошибке - типа нет такого поля.
> Я разобрался. Надо было посмотреть коды ошибок в заголовках модуля 
> ядра. Ругалось на то, что  в качестве устройства предлагался обычный 
> файл, а нужно было блочное устройство. Я так понимаю, что надо было 
> сначала смонтировать его через losetup. Теперь вопрос, как через 
> средствами си сделать то, что делается через losetup. Может кто подскажет?
самый простой способ через system запускать нужную команду или скрипт.
http://lord-n.narod.ru/download/books/walla/programming/Spr_po_C/18/system.htm



  parent reply	other threads:[~2013-11-11 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08 15:09 ` Hihin Ruslan
2013-11-11 16:10     ` Kharitonov A. Dmitry [this message]
2013-11-24 15:04       ` Vasiliy Zdanovskiy
2013-11-24 15:23         ` Hihin Ruslan
2013-11-27 18:46     ` Sergey

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=52810180.90500@rambler.ru \
    --to=kharpost@rambler.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git