[root@dslin src]# parted /dev/hdcWarning: Unable to determine if partitions are mounted via /proc/mounts or/etc/mtab. Make sure you don't attempt to resize or modify mounted filesystems. (Even read-only mounted)Ignore/Cancel? I GNU Parted 1.6.9Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.This program is free software, covered by the GNU General Public License.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.Using /dev/hdcInformation: The operating system thinks the geometry on /dev/hdc is 77545/16/63. Therefore, cylinder 1024 ends at 503,999M.(parted) printDisk geometry for /dev/hdc: 0.000-38166,679 megabytesDisk label type: msdosMinor Start End Type Filesystem Flags1 0,031 99,914 primary ext3 boot2 147,164 5220,140 primary ext3 4 5220,141 5476,078 primary linux-swap 3 5476,078 38166,679 extended lba5 5476,109 9572,062 logical ext3 6 9572,093 38166,679 logical ext3 (parted) resize 6 9572,093 36166,679 No Implementation: This ext2 filesystem has a rather strange layout! Partedcan't resize this (yet).(parted) quit
Код: [Вибрати][root@dslin src]# parted /dev/hdcWarning: Unable to determine if partitions are mounted via /proc/mounts or/etc/mtab. Make sure you don't attempt to resize or modify mounted filesystems. (Even read-only mounted)
[root@dslin src]# parted /dev/hdcWarning: Unable to determine if partitions are mounted via /proc/mounts or/etc/mtab. Make sure you don't attempt to resize or modify mounted filesystems. (Even read-only mounted)