LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2009, 12:39 PM   #31
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612

woodsman, the packet-writing module of the kernel is for writing to a UDF filesystem. The thing about UDF, is that it can also show up as an ISO9660 at the same time.
The 512KB dummy.iso may be an empty file, or it may contain a bootsector which contains a partition table which covers the whole raw device. IIRC, the sizes of the two parts of the device can be changed, so obviously the U3 software is writing a new iso when the sizes get changed. I'm thinking that it may be possible to get the udftools mkudffs utility to write directly to the ISO 'device'.

piratesmack, can you post an attachment with the dummy.iso file you extracted?

I've just had another idea about possibly using some of the jffs2 tools which let you work with the raw flash device.

A while back, rworkman chipped in on a thread about the U3 devices -he had fixed his, but I don't remember how. You (woodsman) might contact him about it...
 
Old 08-25-2009, 12:53 PM   #32
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by gnashley View Post
woodsman, the packet-writing module of the kernel is for writing to a UDF filesystem. The thing about UDF, is that it can also show up as an ISO9660 at the same time.
The 512KB dummy.iso may be an empty file, or it may contain a bootsector which contains a partition table which covers the whole raw device. IIRC, the sizes of the two parts of the device can be changed, so obviously the U3 software is writing a new iso when the sizes get changed. I'm thinking that it may be possible to get the udftools mkudffs utility to write directly to the ISO 'device'.
The above is in interesting idea/scenario/thought -- I was going to comment about UDF yesterday but got distracted by something.

I don't remember 100% of the details or order of events in the situation I'm about to describe, but what I was going to say was something like:

I wanted to transfer some data one time from my Linux box to my roommates XP machine (or vice versa) so took a writeable (un-finalized) CDRW that was created on the XP machine (it had some files on it) and I stuck it into nmy Linux machine, mounted it as UDF for packetwriting, and proceeded to copy some files to it (successfully).

I unmounted it, and took it back to the XP machine and stuck it into the drive. Windows opened it up, and there was the original stuff that had already been on the disc, MINUS what I had just put onto it.

Baffled, I took it back to the Linux box and mounted it again. And there was the stuff I had just put onto it, but NOT the original files that the XP machine was showing.

I unmounted it, and re-mounted it ISO9660, and presto, there was the XP files that were on it originally.

So the disc now appeared to have two distinct filesystems on it.

I haven't a clue how each filesystem might (corrupt) effect the other, nor what the moral might be here..

Just a thought.

I think I still have the disc somewhere.

Sasha
 
Old 08-25-2009, 03:31 PM   #33
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by gnashley View Post
A while back, rworkman chipped in on a thread about the U3 devices -he had fixed his, but I don't remember how.
I "fixed" mine by removing the U3 crap from a Windows machine at work :/
 
Old 08-26-2009, 01:42 AM   #34
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
GrapefruiTgirl, your experience points out what I found -it is possible to create a filesystem which can be recognized as either ISO9660 or UDF. When created with mkisofs or growisofs, the necessary ISO9660 attributes can be added to the UDF stuff. Most ISO's created under windows will be like this. UDF allows you to write directly to an ISO/UDF filesystem. The trick then would be to create an ISO which looks like a hard-drive bootsector, instead of like a bootable ISO image.
 
Old 08-26-2009, 07:45 PM   #35
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by gnashley View Post
piratesmack, can you post an attachment with the dummy.iso file you extracted?
here:
http://www.filefront.com/14405315/Dummy.rar

Wouldn't upload unless I rar'd it for some reason.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 04:31 AM
Read and write USB device with non-root access halfzware_shag Linux - Hardware 3 10-11-2004 04:26 AM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 07:14 PM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 11:33 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration