ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@vzljot.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: How to detect partition label ?
Date: Sun, 08 May 2005 18:49:15 +0400
Message-ID: <427E26EB.400@vzljot.ru> (raw)
In-Reply-To: <20050508144119.GA21475@mycomp.mydomain>

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

php-coder пишет:
> --- Vitaly Ostanin 2005-05-08 18:19:19 +0400
> +++ php-coder 2005-05-08 21:35:01 +0700
>
>
>>Нужно для любой файловой системы, не только ext2/3. Хотя бы для
>>наиболее распространённых - ext2/3, xfs, reiserfs, vfat.
>
>
>     Для ext2/3 я привел пример.
>     Для iso9660 есть volname.
>
>     Для xfs, reiserfs и vfat, как мне кажется, должны быть подобные
>     программы. К примеру, судя по выводу apt-cache search я бы искал в
>     пакетах:
>
>     mtools - Утилиты для работы с дисками MS-DOS
>     reiser4progs - Utilities for reiser4 filesystems
>     xfsprogs - Utilities for managing the XFS filesystem
>
>     Чтобы определение метки для разных ФС присутствовало в одной
>     программе, я немного сомневаюсь, хотя и могу ошибаться...

По крайней мере определения меток для ext2/3, xfs и reiserfs есть
в mount. Алгоритм определения типа fs из mount нашёлся в пакете
fstyp. В принципе, можно уже сделать wrapper самому, но сильно
подозреваю, что он уже где-то сделан :)

<skipped/>

--
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

  reply	other threads:[~2005-05-08 14:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 12:39 [devel] " Vitaly Ostanin
2005-05-08 13:31 ` php-coder
2005-05-08 14:19   ` [devel] " Vitaly Ostanin
2005-05-08 14:41     ` php-coder
2005-05-08 14:49       ` Vitaly Ostanin [this message]
2005-05-08 15:22         ` Mikhail Yakshin
2005-05-08 15:43           ` Alexander Bokovoy
2005-05-11 11:54             ` Vitaly Ostanin
2005-05-11 17:54             ` [devel] [JT] " Michael Shigorin
2005-05-12  8:28               ` Alexander Bokovoy

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=427E26EB.400@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=devel@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 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