From: Alexey Tourbin <at@turbinal.org> To: ALT Linux general discussion list <community@altlinux.ru> Subject: [Comm] Re: du ошибается... Date: Tue, 17 Dec 2002 16:49:09 +0300 Message-ID: <20021217134909.GB7033@ungrund> (raw) In-Reply-To: <20021217081514.GB4059@basalt.office.altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 598 bytes --] On Tue, Dec 17, 2002 at 11:15:14AM +0300, Dmitry V. Levin wrote: > Вот вам пример в числах: > > 1. Скомпилируйте lseek.c (attached), > 2. Запустите > $ ./lseek 0x400000000 ~/tmp/empty > 3. Сравните вывод от > $ ls -lh ~/tmp/empty > и > $ du -h ~/tmp/empty Идея понятна, только программа не работает. :( $ gcc lseek.c -o lseek $ ./lseek 0x400000000 ~/tmp/empty ./lseek: lseek: 0: Invalid argument $ > P.S. Этот предмет - для community@. -- WBR, Alexey Tourbin "He is a sane man who can have tragedy BIOZAK Ltd., Russia in his heart and comedy in his head." --G.K.Chesterton [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-12-17 13:49 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-17 8:15 ` [Comm] Re: [sisyphus] " Dmitry V. Levin 2002-12-17 13:49 ` Alexey Tourbin [this message] 2002-12-17 18:11 ` [Comm] Re: [Comm] " ASA 2002-12-17 20:01 ` Vitaly Lipatov 2002-12-17 20:12 ` Michael Shigorin 2002-12-18 11:27 ` Alexander Kirey
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=20021217134909.GB7033@ungrund \ --to=at@turbinal.org \ --cc=community@altlinux.ru \ /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