Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328775 - sys-apps/util-linux - blkid does not return a filesystem for CDs with iso9660 + hfs
Summary: sys-apps/util-linux - blkid does not return a filesystem for CDs with iso9660...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-18 03:34 UTC by Alexandre Ferreira
Modified: 2010-09-15 05:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
make hfs also tolerant to another filesystem in the same partition (util-linux-hfs.patch,509 bytes, patch)
2010-07-18 03:41 UTC, Alexandre Ferreira
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Ferreira 2010-07-18 03:34:34 UTC
If a CDROM contains a ISO9660 and HFS filesystems, blkid and libblkid returns an ambivalent result. This affects mount that now requires a filesystem to mount the CDROM and KDE that does not let the CDROM to be mounted.

Reproducible: Always

Steps to Reproduce:
1.Insert a CDROM with hfs and iso9660 filesystem
2.blkid /dev/cdrom
3.

Actual Results:  
blkid /dev/cdrom returns null and blkid -p /dev/cdrom returns "ambivalent"

Expected Results:  
blkid /dev/cdrom returns iso9660

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-rc5 x86_64)
=================================================================
System uname: Linux-2.6.35-rc5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 17 Jul 2010 06:00:16 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US pt pt_BR"
MAKEOPTS="-j 3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portages-other/my_portage /usr/local/portage/layman/kde /usr/local/portage/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 apache2 asf ati atk audiofile avi berkdb blas bluetooth branding bzip2 bzlib cairo cdparanoia cdr cli consolekit cracklib cross crypt cscope ctype cups curl curlwrappers cxx dba dbus dhcpcd divx divx4linux doc dri dts dvd dvdr dvdread emboss encode ethereal exif fam ffmpeg firefox flac fontconfig foomaticdb fortran gd gdbm ggi gif glitz glut gpm graphviz gstreamer gtk gtk2 gtkhtml guile h323 hal iconv icq imagemagick imap imlib innodb ipod ipv6 jabber jadetex java java5 joystick jpeg jpeg2k kde lapack laptop latex lcms ldap lesstif libcaca libg++ libnotify lirc lm_sensors logrotate lua lzo mad matroska mcal mikmod mime mjpeg mmap mmx mng modules motif mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz mysql ncurses networking networkmanager nls no-seamonkey nptl nptlonly nsplugin ofx ogg oggvorbis openal opengl openmp oss pam pango pcre pdf pdflib perl php pic plotutils png policykit postgres ppds pppd python qt qt3support qt4 qthelp quicktime readline reflection rtc ruby samba scanner sdl secure-delete semantic-desktop session shared sip slp sndfile soap sockets speex spell spl sql srt sse sse2 ssl startup-notification subversion svg sysfs tcltk tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vorbis wav webkit wlm wmp wxwindows x264 xcb xcomposite xine xinerama xml xml2 xorg xpm xscreensaver xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US pt pt_BR" LIRC_DEVICES="ite8709" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexandre Ferreira 2010-07-18 03:41:24 UTC
Created attachment 239197 [details, diff]
make hfs also tolerant to another filesystem in the same partition
Comment 2 SpanKY gentoo-dev 2010-07-19 21:16:23 UTC
if you're sophisticated enough to figure out git, why not just send the patch with git-send-email to the util-linux devs ?  util-linux-ng@vger.kernel.org ...
Comment 3 Alexandre Ferreira 2010-07-19 23:11:46 UTC
Thanks for the suggestion. Patch sent to util-linux-ng@vger.kernel.org using git-send-email.