ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: community@altlinux.ru
Subject: [Comm] Re: узнать тип FS из скрипта
Date: Sat, 18 Oct 2003 00:49:08 +0400
Message-ID: <20031017204908.GB4240@localhost.localdomain> (raw)
In-Reply-To: <20031017170727.GB1991@nm.ru>

On Sat, Oct 18, 2003 at 12:07:27AM +0700, Pyatnitskich Evgeniy wrote:

 > > Как узнать тип файловой системы на выбраном разделе из скрипта? Нужно
 > > различать как минимум ext2, ext3, reiserfs, xfs.
 > [eugene@eldorado eugene]$ cat /etc/fstab | grep /dev/hda6 | cut -d\  -f3
 > ext3
 > [eugene@eldorado eugene]$
 > Не прокатит?

Нужно уметь обрабатывать вариант, когда раздел не смонтирован.

-- 
С уважением, Денис

http://freesource.info


  parent reply	other threads:[~2003-10-17 20:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17 15:45 [Comm] " Денис Смирнов
2003-10-17 17:07 ` Pyatnitskich Evgeniy
2003-10-17 18:15   ` Vitaly Lipatov
2003-10-17 20:49   ` Денис Смирнов [this message]
2003-10-17 21:42     ` [Comm] " taras
2003-10-17 23:36       ` Денис Смирнов
2003-10-17 21:57     ` Sergey Degtyaryov
2003-10-17 23:38       ` Денис Смирнов
2003-10-19 18:36         ` Igor Homyakov
2003-10-20  5:55           ` Igor Homyakov
2003-10-20 14:42             ` Денис Смирнов
2003-10-20 15:08             ` Денис Смирнов
2003-10-20  5:50 ` [Comm] " shawkat

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=20031017204908.GB4240@localhost.localdomain \
    --to=mithraen@freesource.info \
    --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