Your message dated Sat, 13 Feb 2021 09:35:06 +0800
with message-id <[email protected]>
and subject line Re: dosfstools: fatlabel prints both warnings and the label to 
stdout
has caused the Debian Bug report #803391,
regarding dosfstools: fatlabel prints both warnings and the label to stdout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
803391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803391
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dosfstools
Version: 3.0.27-1
Severity: normal
Tags: upstream

Dear Maintainer,

fatlabel prints warnings to stdout before the label of the filesystem:

# parted /dev/loop0 print
Model: Loopback device (loopback)
Disk /dev/loop0: 10000kB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name       Flags
 1      1049kB  2097kB  1049kB  ext2            namefoo1
 2      2097kB  3146kB  1049kB  fat32           namebar2   msftdata
 3      3146kB  4194kB  1049kB  linux-swap(v1)  nameswap3

# fatlabel /dev/loop0p2 2>/dev/null
Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
  but has only 1984 clusters, less than the required minimum of 65525.
  This may lead to problems on some systems.
fatn2      

I think the warnings should be printed to stderr.

As a workaround, scripts using fatlabel can pipe the output to "tail -n 1"

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dosfstools depends on:
ii  libc6  2.19-18+deb8u1

dosfstools recommends no packages.

dosfstools suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.2-1

On Thu, 29 Oct 2015 16:50:07 +0200 Mikko Tuumanen wrote:

> fatlabel prints warnings to stdout before the label of the filesystem:

According to Pali, this is fixed in 4.2-1, recently uploaded to Debian.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to