I have installed Mandrake 8.1 and chose ext3 for my main partitions (other than root). However, stupidly, I cannot now remember whether I specified ext3 for some other partitions that I haven't yet mounted (these are essentially just spare capacity, though they may have some files on them if they weren't formatted). Is there a simple way of telling whether I should mount these as ext3 or ext2? In other words, is there a command that will tell me everything about the file system on a given partition? I looked in the EXT3 File System mini-HOWTO, but that didn't seem to answer my question. - Richard. -- Richard Kimber Political Science Resources: http://www.psr.keele.ac.uk/
On Sun, 9 Dec 2001, Richard Kimber wrote:> I have installed Mandrake 8.1 and chose ext3 for my main partitions > (other than root). However, stupidly, I cannot now remember whether I > specified ext3 for some other partitions that I haven't yet mounted > (these are essentially just spare capacity, though they may have some > files on them if they weren't formatted). > > Is there a simple way of telling whether I should mount these as ext3 > or ext2?tune2fs -l /dev/hdXXX Look for "has_journal" in the features. Daniel -- People climbing up the walls Breaking all of my wretched dolls Fingernails they scratch outside -- Switchblade Symphony, _Dollhouse_
On Sun, 9 Dec 2001 17:12:25 +0000, Richard Kimber said:> In other words, is there a command that will tell me everything about the > file system on a given partition? I looked in the EXT3 File System > mini-HOWTO, but that didn't seem to answer my question.You can either use tune2fs (with this command you can change some of the filesystem parameters such as mount counts, too): tune2fs -l /dev/<whatever> or you can use dumpe2fs (which will show you tons of information if you don't use the -h switch): dumpe2fs -h /dev/<whatever> If your partition has ext3 enabled, you should find an entry like this: Filesystem features: has_journal Ciao Florian