bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print <number> gives an error


From: leslie . polzer
Subject: Re: print <number> gives an error
Date: Sun, 10 Sep 2006 21:43:49 +0200
User-agent: mutt-ng/devel-r804 (Linux)

On Sun, Sep 10, 2006 at 11:57:07PM +0530, Debarshi 'Rishi' Ray wrote:

> In case the same print command is issued with the partition mounted,
> I get a: Error: File system was not cleanly unmounted! You should
> run e2fsck. Modifying an unclean file system could cause severe
> corruption. Ignore/Cancel?
>
> Any idea?
I don't think that the "print" command is at fault:

    WARNING: You are not superuser.  Watch out for permissions.
    GNU Parted 1.7.1
    Using /home/sky/code/parted/images/labels/label_msdos
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) print

    Disk /home/sky/code/parted/images/labels/label_msdos: 21.0MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number  Start   End     Size    Type      File system  Flags
     1      16.4kB  983kB   967kB   primary   ext2
     2      983kB   2032kB  1049kB  primary
     3      2032kB  10.0MB  7995kB  extended               lba
     6      2064kB  3998kB  1933kB  logical
     5      4014kB  4981kB  967kB   logical

    (parted) mkfs
    Partition number? 1
    File system?  [ext2]?
    (parted) print 1

    Minor: 1
    Flags:
    File System: ext2
    Size:         967kB (4.61%)
    Minimum size: 78.8kB (0.38%)
    Maximum size: 21.0MB (100%)

The cause is probably that it's ext3 formatted.

  Parted's ext2 code doesn't support newer ext3 file systems very well.

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83
http://nic-nac-project.de/~skypher/

Attachment: pgpJTf3BdiISp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]