Posted: Sat 11 Aug 2012, 12:02 Post subject:
Is there a way to detect a UDF disc?

Master_wrong wrote:

@Karl

Quote:

Code:
mkdir /mnt/DVD
mount-FULL -s -o nostrict /dev/sr0 /mnt/DVD

i tested this to read udf disc burned by nero linux and it work.

shouldnt this be implemented in puppy ?

Thanks

Thank you Karl, that works in Lighthouse64 for a Windows 7 install disc I have. (udf kernel module was already loaded.)

Unfortunately blkid and probepart just tells me its media type is 'iso-9660', so I don't know how to automate that in pmount. Is there a way to detect a UDF disc device from the command line, prior to mounting the disc?

Posted: Sun 12 Aug 2012, 10:09 Post subject:
Re: Is there a way to detect a UDF disc?

tazoc wrote:

Master_wrong wrote:

@Karl

Quote:

Code:
mkdir /mnt/DVD
mount-FULL -s -o nostrict /dev/sr0 /mnt/DVD

i tested this to read udf disc burned by nero linux and it work.

shouldnt this be implemented in puppy ?

Thanks

Thank you Karl, that works in Lighthouse64 for a Windows 7 install disc I have. (udf kernel module was already loaded.)

Unfortunately blkid and probepart just tells me its media type is 'iso-9660', so I don't know how to automate that in pmount. Is there a way to detect a UDF disc device from the command line, prior to mounting the disc?

-TaZoC

Oh god . disktype is heavy . But for comparison Windows Vista also fires the DVD drive up at DirectX/xwin $Windowmanger/boot .. and seems to automount. Have no idea about the commandline for windows though(used a "black 98" once and can remember windows fdisk command).

Tazoc, my guess is that there a newer defaults in util-linux/busybox. Busybox also has a hund reds of configuration options. The */local/* is configured i think simply "./configure" . UTF-8 seems to confuse things around too. I am starting to compile things "--with-system-gettext" or whatever that configuration option precisely is named since that helps with gtk-2.0 special non-english-chars. Maybe is important to all that poping ntfs malaisse around. Or Win7/8's newer udf -version is not recognized (by the kernel driver).

Further
/sbin/probepart is a script by BK that i have altered in different ways on my full installations to guess udf. Here the Macpup_Foxy3 version :

probepart.bz2

Description

should go to /sbin crappy but that shows that i did not made it in 5 minutes.

And I now have it mounted so that ROX/PBurn and other subsystems can make use of the DVD's data.

Now for the obvious question
I am sure we are asking ourselves, shouldn't Puppy be using that mount command instead of the one we are using. Is this just one more of those steps Puppy takes as it matures? Can the Puppy system alias this or something so that it not left to the user to just give up?

Understanding this, i thought it to be helpful to try the mount-FULL command on a Puppy ISO disk as well.

Question 2
How does a community find, like this, get rolled into the base distro build system such that its replaces the old mount command with the modern version which doesn't carry the limitations?

A community request
Could others also test the use of the mount-Full command to insure that compatibilities are not overlooked and shortcomings are missed?

Thanks in advance for any and all help. None of what has been found or shared here is major. But all of it does help in the maturity of Puppy. Its only a show-stopper when someone who isn't expecting a problem hits this.

Anyone know how to make BarryK aware of this need for switching the mount command (certainly would be nice to make him aware of our findings)?

Here to help
Edit: spelling and context corrections_________________Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engineor use DogPileLast edited by gcmartin on Fri 17 Aug 2012, 19:51; edited 1 time in total

Correct me if I'm wrong, but I think you can open /mnt/dvd in ROX and see all the files. I got the same message you got and I was able see the UDF files in ROX.

I'm not sure about the read-only portion and have appealed to others for understanding and expansion to what we can do should the media have been created multi-session.

But, I think you can "read" your files on the UDF media now._________________Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engineor use DogPile

Hi gcmartin, I just tried, I navigated through mount/sr0 (the dvd drive) and it is empty. Tried also dvd folder, that is empty.
I am using 3HD derivative, don't know if the kernel might make a difference.

EDIT..omg..slap me round the head with a catfish, just stuck a dual layer in there, clicked on dvd in rox, and like you said, all the files are there!

And it mounted like lightning, usually have to sit there for a good minute while windows chuntles away loading a dual layer up.

Just tried a few others that are in an "open" state, i.e nearly full but have a coupla gigs left for writing to, and they show up as blank, so possibly closed discs are able to be read in puppy.

What would be nice is to determine which type of UDF (and from which OSes-applications) our PUPs are capable of reading?

With that understanding, it would make it a little simpler to approach the Linux community for further understanding in how to get PUPs to write. As it stand, currently, this is one of the first in-depth looks at mounting UDFs in PUPs.

Lastly, it should make us wonder if there will be increased use of Blu-Ray UDF file production or increased use of any DVD media as the technology begins to move to hand-helds.

I really do understand the limited resources and the need to prioritize to maximize community benefit.

Personally, this has help me better understand how to help family and friends in this area as they need. This was very timely and I THANK this community for providing insights. THX!!!

Lets hope that the current findings makes its way into current and future PUPs without user needs to request PPM/market research for this media mount. This could make additional development and resolutions a little easier.

Here to help_________________Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engineor use DogPile

So would it be easy enough to put the UDF code in Zigberts PBurn, either automatically mounting when a UDF disk is inserted or possibly a Load UDF Button? Would be a neat little feature.

Maybe a little premature until a few more UDFs are reported in..

As regards writing to UDF, I'm not sure if any Puppyists want to go through the potential of cd/dvd disks occassionally losing their data, but I would bet UDF writing would be pretty solid in Linux, 'cos it seems really good at those sort of things.

And it usually only happens(ed) when you forget to dismount the thing and it used to freak out. Think write behind caching could catch one out sometimes.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum