LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Format ext3 file system? (https://www.linuxquestions.org/questions/linux-general-1/format-ext3-file-system-34481/)

mikeshn 11-03-2002 09:07 AM

Format ext3 file system?
 
I use the command to format the partition mke2fs dev/hda1
But this command doesn't work

How can I format ext3 partition?

Thanks

acid_kewpie 11-03-2002 09:44 AM

mke2fs -j /dev/hda1

mikeshn 11-03-2002 09:57 AM

Doesn't work

[root@localhost mike]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda9 380679 127302 233723 36% /
/dev/hda6 51182 17975 30565 38% /boot
/dev/hda8 2515040 407572 1979708 18% /home
none 127912 0 127912 0% /dev/shm
/dev/hda7 6868264 2193448 4325924 34% /usr
/dev/hda11 256194 126983 115983 53% /var
[root@localhost mike]# mke2fs -j /dev/hda11
bash: mke2fs: command not found
[root@localhost mike]#

acid_kewpie 11-03-2002 10:07 AM

look in /sbin

acid_kewpie 11-03-2002 10:08 AM

and was there any reason for the df output??

MasterC 11-03-2002 12:37 PM

Maybe to show us that his drive is mounted?


All times are GMT -5. The time now is 07:55 AM.