public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Brian K. Michalk" <michalk@sisko.awpi.com>
To: mtd@imladris.mvhi.com
Subject: fdisk oddities
Date: Tue, 28 Dec 1999 11:44:52 -0600 (CST)	[thread overview]
Message-ID: <199912281744.LAA27404@sisko.awpi.com> (raw)

I have been having some problems (still).  I thought I would sit 
back and listen, but it's been quiet lately.

It seems as though the doc2000 is not storing cylinders, sectors or
heads after fdisk exits.  I manually set them, and used very small
values just in case there was some sort of problem with the 72 MB
doc I have.  Here is the script:

Script started on Mon Dec 27 23:49:09 1999
embed:~/mtd-19991025/kernel# fdisk /dev/nftla1
You must set heads sectors and cylinders.
You can do this from the extra functions menu.

Command (m for help): p

Disk /dev/nftla1: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes

       Device Boot    Start       End    Blocks   Id  System
/dev/nftla1p1            10      2304      1147+  83  Linux native

Command (m for help): x

Expert command (m for help): c
Number of cylinders (1-65535): 16

Expert command (m for help): h
Number of heads (1-256): 16

Expert command (m for help): s
Number of sectors (1-63): 9
Warning: setting sector offset for DOS compatiblity

Expert command (m for help): r

Command (m for help): p

Disk /dev/nftla1: 16 heads, 9 sectors, 16 cylinders
Units = cylinders of 144 * 512 bytes

       Device Boot    Start       End    Blocks   Id  System
/dev/nftla1p1             1        16      1147+  83  Linux native

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Re-read table failed with error 22: Invalid argument.
Reboot your system to ensure the partition table is updated.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.

-- 
Brian Michalk  <http://www.awpi.com/michalk>
Life is what you make of it ... never wish you had done something.
Aviator, experimental aircraft builder, motorcyclist, SCUBA diver
musician, home-brewer, entrepreneur and SINGLE!


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

             reply	other threads:[~1999-12-28 17:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-28 17:44 Brian K. Michalk [this message]
2000-01-24  9:53 ` fdisk oddities David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2000-01-24 17:07 Oron Ogdan
2000-01-24 17:12 ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199912281744.LAA27404@sisko.awpi.com \
    --to=michalk@sisko.awpi.com \
    --cc=mtd@imladris.mvhi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox