From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 18 Oct 2003 00:49:08 +0400 From: =?koi8-r?B?5MXOydMg883J0s7P1w==?= To: community@altlinux.ru Message-ID: <20031017204908.GB4240@localhost.localdomain> References: <20031017154517.GA25749@localhost.localdomain> <20031017170727.GB1991@nm.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20031017170727.GB1991@nm.ru> Subject: [Comm] Re: =?koi8-r?b?1drOwdTYINTJ0CBGUyDJ2iDTy9LJ0NTB?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2003 20:52:27 -0000 X-List-Received-Date: Fri, 17 Oct 2003 20:52:27 -0000 Archived-At: List-Archive: List-Post: 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