util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Miata <mrmazda@earthlink.net>
To: util-linux@vger.kernel.org
Subject: Re: fdisk -l hits floppy drive
Date: Sun, 08 Feb 2015 02:52:27 -0500	[thread overview]
Message-ID: <54D715BB.6070406@earthlink.net> (raw)
In-Reply-To: <87zj8pm8lo.fsf@hobgoblin.ariadne.com>

Dale R. Worley composed on 2015-02-07 21:37 (UTC-0500):

> Felix Miata wrote:

>> fdisk -l is causing the floppy drive to get hit, which reflects the 4 kernel
>> messages onto the tty running fdisk. Is this expected or intended?

> I see in the manual page:
> 
>        -l     List the partition tables for the  specified  devices  and  then
>               exit.   If no devices are given, those mentioned in /proc/parti-
>               tions (if that exists) are used.

> Is the floppy listed in /proc/partitions?

Yes, as is the OM drive:
3.18.3-1-desktop #1 SMP PREEMPT Mon Jan 19 12:38:51 UTC 2015 (c3e148f) x86_64
x86_64 x86_64 GNU/Linux (openSUSE Tumbleweed)
major minor  #blocks  name

   8        0 1953514584 sda
   8        1     409600 sda1
   8        2    2048000 sda2
   8        3     409600 sda3
   8        4          1 sda4
   8        5    4245488 sda5
   8        6   49151984 sda6
   8        7     258032 sda7
   8        8   10239984 sda8
   8        9   10239984 sda9
   8       10   10239984 sda10
   8       11   10239984 sda11
   8       12    5119984 sda12
   8       13    4095984 sda13
   8       14    2047984 sda14
   8       15   24575984 sda15
 259        0   77823984 sda16
 259        1  240639984 sda17
 259        2  972799984 sda18
 259        3     450544 sda19
 259        4   49151984 sda20
   2        0          4 fd0
  11        0    1048575 sr0

Knoppix 7.4's 3.16.3 and openSUSE 13.2's 3.16.7 have fd0 in /proc/partitions
too. openSUSE 13.1's 3.12.36 lists sr0, but not fd0. Tumbleweed's hwinfo
--[cdrom|disk|ide|partition|redasd|scsi] (v21.11) all produce fd0 messages on
vttys too. hwinfo --floppy produces 6 messages instead of 4, so I suspect
this is about something exclusive to openSUSE other than util-linux, but
what? Kernel? Systemd logging? Other?

All above are on a Dell Optiplex 760 SFF (ICH10D) with BIOS A12, 4 versions
older than latest
available (A16; too big to fit on a 1.44M floppy).
http://www.dell.com/us/dfb/p/optiplex-760/pd

A similar age Biostar (NM10/ICH7) with Tumbleweed's 3.18.3 and 13.2's 3.16.7
lists fd0, sr0 & sr1, but Tumbleweed's fdisk (2.25.1) and 13.2's fdisk
(2.25.1) don't result in the floppy hits trailing output. 13.1's 3.16.7 has
sr0 & sr0 in /proc/partitions, but not fd0, same as Rawhide's 3.19.rc7.

An older Optiplex GX280 SFF (ICH6; BIOS A04) with floppy and Tumbleweed's
3.18.1 and
13.2's 3.16.7 list both sr0 and fd0 in /proc/partitions, but drop no fd0
messages on the ttys from fdisk -l or hwinfo.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

  reply	other threads:[~2015-02-08  7:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 19:13 fdisk -l hits floppy drive Felix Miata
2015-02-08  2:37 ` Dale R. Worley
2015-02-08  7:52   ` Felix Miata [this message]
2015-02-09 10:36     ` Karel Zak
2015-02-17  2:30     ` Dale R. Worley
2015-02-17  8:32       ` Felix Miata
2015-02-18  3:29         ` Dale R. Worley
2015-02-09 14:45 ` Phillip Susi
2015-02-10 14:59   ` Felix Miata
2015-04-07  1:03     ` Phillip Susi

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=54D715BB.6070406@earthlink.net \
    --to=mrmazda@earthlink.net \
    --cc=util-linux@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).