Sponsored Content
Full Discussion: Filesystem from scratch
Top Forums UNIX for Advanced & Expert Users Filesystem from scratch Post 302145630 by porter on Wednesday 14th of November 2007 09:44:40 PM
Old 11-14-2007
Many years ago I wrote a complete CP/M 2.2 clone for a little Z80 I attached to an IBM floppy controller. That did include a complete file system for a simple floppy format. To be honest, apart from console and printer IO that's all CPM is. Smilie

At a similar time I wrote a two device drivers for the Macintosh, one for a disk accessed over the serial port, the other for a ram disk (System 6.0.5), but those were just the device drivers and still reused the MacOS filesystem.
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

An X Window System from scratch

I'm currently using Gnome as my desktop environment (DE) but it's going kind of slow. My friend gave me the advice to skip the DE and only use a Window Manager. I took his suggestion one step further and decided to try building an X window system from scrath instead. But what are the... (3 Replies)
Discussion started by: J.P
3 Replies

2. Linux

Linux From Scratch

LFS (Linux From Scrath) it's tools for make own distribution. U know how create own distribution ?? thanks cYa (2 Replies)
Discussion started by: kezzol
2 Replies

3. UNIX for Advanced & Expert Users

unix from scratch

hi all, i'm trying to write a unix system from scratch (not re-writing the kernel) does anyone have information about that? tips and stuff...?i would appreciate every help, thnks :) (9 Replies)
Discussion started by: elzalem
9 Replies

4. UNIX for Dummies Questions & Answers

Setup a printer on Linux from scratch, everything to do

I am a beginner in Unix. I have redhat linux running in a dell work station. my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name? my printer is HP laserjet connected to network Edit/Delete Message (0 Replies)
Discussion started by: docaia
0 Replies

5. Red Hat

Setup a printer on Linux from scratch

I am a beginner in Unix. I have redhat linux running in a dell work station. my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name? my printer is HP laserjet connected to network (2 Replies)
Discussion started by: docaia
2 Replies

6. UNIX for Dummies Questions & Answers

Building from scratch - UNIX

Hi! Any knows if Unix (from IBM, Sun, HP, etc) is picky on hardwares? I mean, installing Unix (not Linux) on a custom build system? Thanks. (2 Replies)
Discussion started by: genesisX
2 Replies

7. Programming

Terminal emulator from scratch.

I wanna write a terminal emulator program from scratch. I downloaded the sources of xterm but they are too complex... I did not found any documentation on the Internet, so I asking you where I have to start. I learnt only C, and I have the basics of GTK library. Thanks for any reply. (22 Replies)
Discussion started by: mghis
22 Replies

8. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

9. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
FDFORMAT(1)						    BSD General Commands Manual 					       FDFORMAT(1)

NAME
fdformat -- format a floppy diskette SYNOPSIS
fdformat [-f device] [-t type] [-n] [-B nbps] [-S nspt] [-T ntrk] [-C ncyl] [-P stepspercyl] [-G gaplen] [-F fillbyte] [-X xfer_rate] [-I interleave] DESCRIPTION
The fdformat utility formats a floppy diskette. With no arguments, it formats the default floppy device with the default density parameters (as provided by the floppy diskette device driver). As the each track of the floppy diskette is formatted, it is read to verify the format was successful. The fdformat utility does not create a filesystem of any kind. Use tools like newfs(8), newfs_msdos(8), or mformat(1) (part of the pkgsrc/sysutils/mtools package) depending on what filesystem type you want to use on the floppy disk to do so. Available command-line flags are: -f device Format the floppy using device instead of the default /dev/rfd0a. -t type Format the floppy using parameters for the diskette named type in /etc/floppytab instead of the device default parameters. -n Do not verify each track as it is read. -B nbps Set the number of bytes per sector for the formatted diskette. -S nspt Set the number of sectors per track for the formatted diskette. -T ntrk Set the number of tracks (heads) per cylinder for the formatted diskette. -C ncyl Set the number of cylinders for the formatted diskette. -P stepspercyl Set the number of motor steps per cylinder for the formatted diskette. -G gaplen Set the sector gap length for the formatted diskette. -F fillbyte Set the fill byte for the formatted diskette. -X xfer_rate Set the bit transfer rate for the formatted diskette. -I interleave Set the interleave factor for the formatted diskette. SEE ALSO
fdc(4) (amiga, i386 and sparc ports) HISTORY
The fdformat utility appeared in NetBSD 1.3. BUGS
Some floppy drive units have physical diskette format sensors which automatically select a diskette density for reading. Such drives can format at alternate densities, but they cannot successfully verify the formatted diskette except at the diskette's normal density. BSD
July 22, 2006 BSD
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy