Re: [SLUG] formating

From: Eben King (eben1@tampabay.rr.com)
Date: Sat Dec 04 2004 - 19:18:26 EST


On Sat, 4 Dec 2004, SOTL wrote:

> I need to format a disk to ext2.
>
> I thought the command for this was mkfs -t ext2 /dev/fd0
>
> But! I get an error message mkfs command not found in bash.
>
> What am I doing wrong?

Is /sbin (where mkfs usually is) in $PATH? You probably won't be able to
format the disk unless you're root (or have write access to /dev/fd0). Try
"/sbin/mkfs.ext2 /dev/fd0". You might try throwing "-m 0 -N 64" in there.
-m is % reserved for root (default 5%), -N is # inodes (default 184).
More inodes = more files possible, but inodes take up space (120 inodes is
about 15 KB, and how many files are you going to put on a floppy anyhow?).
"man mkfs.ext2" is informative.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
SCORPIO:  Get ready for an unexpected trip when you fall screaming
from an open window.  Work a little harder on improving your low self
esteem, you stupid freak.  -- Weird Al, _Your Horoscope for Today_

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:13:37 EDT