Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

UDF support

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
mathfeel
l33t
l33t
Posts: 700
Joined: Tue Aug 03, 2004 2:56 am

UDF support

  • Quote

Post by mathfeel » Thu Mar 15, 2012 9:17 am

I wanted to try UDF as a filesystem to share data between Linux and Windows. This gets around the 32GB limit of FAT and NTFS-3g is pretty slow for me.

According to Wikipedia: http://en.wikipedia.org/wiki/Universal_Disk_Format
Linux supports UDF up to version 2.60. (my kernel is Gentoo-sources-3.2.9).
So I formatted a usb flash drive in Windows 7 with this option:

Code: Select all

format /fs:udf /r:2.50 d:
But the file system cannot be mounted under Linux:

Code: Select all

[174.683223] UDF-fs: error (device sdb): __udf_read_inode: (ino 4294967295) failed !bh
[  174.683235] UDF-fs: warning (device sdb): udf_find_metadata_inode_efe: metadata inode efe not found
[  174.683289] UDF-fs: error (device sdb): __udf_read_inode: (ino 4294967295) failed !bh
[  174.683299] UDF-fs: warning (device sdb): udf_find_metadata_inode_efe: metadata inode efe not found
[  174.683304] UDF-fs: error (device sdb): udf_load_metadata_files: Both metadata and mirror metadata inode efe can not found
[  174.683313] UDF-fs: error (device sdb): udf_load_partdesc: error loading MetaData partition map 1
[  174.689553] UDF-fs: error (device sdb): __udf_read_inode: (ino 4294967295) failed !bh
[  174.689564] UDF-fs: warning (device sdb): udf_find_metadata_inode_efe: metadata inode efe not found
[  174.689602] UDF-fs: error (device sdb): __udf_read_inode: (ino 4294967295) failed !bh
[  174.689610] UDF-fs: warning (device sdb): udf_find_metadata_inode_efe: metadata inode efe not found
[  174.689615] UDF-fs: error (device sdb): udf_load_metadata_files: Both metadata and mirror metadata inode efe can not found
[  174.689622] UDF-fs: error (device sdb): udf_load_partdesc: error loading MetaData partition map 1
[  174.710068] UDF-fs: warning (device sdb): udf_load_vrs: No anchor found
[  174.710078] UDF-fs: Rescanning with blocksize 2048
[  174.734076] UDF-fs: warning (device sdb): udf_load_vrs: No anchor found
[  174.734087] UDF-fs: warning (device sdb): udf_fill_super: No partition found (1)
If I remove the /r:2.50 option, letting format default to 2.0.1, then Both Windows and Linux can mount it.

Also, Windows cannot read udf created in Linux using mkudffs no matter what options I try.

So the questions are what's up with the 2.50 support? Is Windows messing up or Linux?
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Mar 15, 2012 9:37 am

why not use ext3?
see this: http://robertbeal.com/528/mount-ext3-in-windows-7-x64
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Thu Mar 15, 2012 9:38 am

Or ext4: http://www.ext2fsd.com/
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Thu Mar 15, 2012 10:50 am

Linux UDF support is has not received much attention in recent time. Is there a reason why you need UDF 2.50 features? Even though reading all versions of UDF should be supported (and if not, report a bug) there is no write support for >UDF 2.01.

Regarding ext2fsd/ext2ifs, I have not found them very reliable.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Mar 15, 2012 6:47 pm

If you want reliable UDF, use mkudffs instead of a microsoft tool.
Top
mathfeel
l33t
l33t
Posts: 700
Joined: Tue Aug 03, 2004 2:56 am

  • Quote

Post by mathfeel » Fri Mar 16, 2012 12:36 am

chithanh wrote:Linux UDF support is has not received much attention in recent time. Is there a reason why you need UDF 2.50 features? Even though reading all versions of UDF should be supported (and if not, report a bug) there is no write support for >UDF 2.01.

Regarding ext2fsd/ext2ifs, I have not found them very reliable.
No reason why 2.50. Just that wiki suggests Linux supports it and it's one of those case of high-version-number-mentality. For >32GB partition, UDF seems like a good choice. I find that writing to NTFS using ntfs-3g is often slow.
Ant P. wrote:If you want reliable UDF, use mkudffs instead of a microsoft tool.
I can't get Windows to recognize the fs made with mkudffs, but I can get Linux to recognized the Windows formatted one.
Last edited by mathfeel on Fri Mar 16, 2012 12:42 am, edited 2 times in total.
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Fri Mar 16, 2012 12:37 am

There is a 32 GiB limit with FAT32? 8O
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
mathfeel
l33t
l33t
Posts: 700
Joined: Tue Aug 03, 2004 2:56 am

  • Quote

Post by mathfeel » Fri Mar 16, 2012 12:44 am

Jaglover wrote:There is a 32 GiB limit with FAT32? 8O
And a 4GB per file limit. Given certain HD Video files today, that's unacceptable.
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3062
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

><)))°€

  • Quote

Post by Chiitoo » Fri Mar 16, 2012 1:35 am

I do think I have had larger volumes than 32 with FAT32...
In fact, is it not 2TB or TiB or well, around that?

Reference:
  • Comparison of file systems - Limits @ Wikipedia, the free encyclopedia
Now that I think of it, I do remember, faintly, such a limit from somewhere.
Aha! Looking closer at the Wikki, there is a citing:
Wikipedia @ Comparison of file systems wrote:^ While FAT32 partitions this large work fine once created, some software won't allow creation of FAT32 partitions larger than 32 GB. This includes, notoriously, the Windows XP installation program and the Disk Management console in Windows 2000, XP, 2003 and Vista. Use FDISK from a Windows ME Emergency Boot Disk to avoid. [2]~»
Blubb.
Kindest of regardses.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic